com.interfaceware.chameleon
Interface ServerSocketListener


public interface ServerSocketListener

The listener interface for handling client socket connect and disconnect events and server socket listen, accept and close events.


Method Summary
 void onAccept()
          Invoked when a server socket accepts a client connection.
 void onClientConnect(Hl7ClientSocket ClientSocket)
          Invoked when a client socket connects.
 void onClientDisconnect(Hl7ClientSocket ClientSocket)
          Invoked when a client socket disconnects.
 void onCloseServer(int PortNumber)
          Invoked when a server socket closes.
 void onListen(int PortNumber)
          Invoked when a server socket starts listening for client connections.
 

Method Detail

onAccept

public void onAccept()
Invoked when a server socket accepts a client connection.


onListen

public void onListen(int PortNumber)
Invoked when a server socket starts listening for client connections.


onCloseServer

public void onCloseServer(int PortNumber)
Invoked when a server socket closes.


onClientConnect

public void onClientConnect(Hl7ClientSocket ClientSocket)
Invoked when a client socket connects.


onClientDisconnect

public void onClientDisconnect(Hl7ClientSocket ClientSocket)
Invoked when a client socket disconnects.