com.multisoftgroup.jerry.webchat.client
Class WebChatPacketReader

java.lang.Object
  extended by com.multisoftgroup.jerry.webchat.client.WebChatPacketReader

public class WebChatPacketReader
extends Object


Method Summary
 void addPacketListener(PacketListener packetListener)
           
 void addPacketToQueue(Packet packet)
           
static WebChatPacketReader getInstance()
           
 void removePacketListener(PacketListener packetListener)
          Removes a packet listener.
 void shutdown()
          Shuts the packet reader down.
 void startup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WebChatPacketReader getInstance()

addPacketListener

public void addPacketListener(PacketListener packetListener)

removePacketListener

public void removePacketListener(PacketListener packetListener)
Removes a packet listener.

Parameters:
packetListener - the packet listener to remove.

startup

public void startup()

shutdown

public void shutdown()
Shuts the packet reader down.


addPacketToQueue

public void addPacketToQueue(Packet packet)