com.joctopus.work
Class ChatServiceHandler

java.lang.Object
  extended by com.joctopus.work.ChatServiceHandler
All Implemented Interfaces:
MessageRecieveListener

public class ChatServiceHandler
extends java.lang.Object
implements MessageRecieveListener

A Handler for handling chat server messages

Since:
1.0

Constructor Summary
ChatServiceHandler(JOctopusConsole chatterConsole, ChatterHandler handler)
           
 
Method Summary
 void recieveMessage(Server server)
          this method will be called when server recieves any notification from client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatServiceHandler

public ChatServiceHandler(JOctopusConsole chatterConsole,
                          ChatterHandler handler)
Parameters:
chatterConsole -
handler -
Method Detail

recieveMessage

public void recieveMessage(Server server)
Description copied from interface: MessageRecieveListener
this method will be called when server recieves any notification from client.

Specified by:
recieveMessage in interface MessageRecieveListener