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

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


onListen

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


onCloseServer

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


onClientConnect

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


onClientDisconnect

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