Package com.iizix.comm
Interface ServerSocketCommListener
public interface ServerSocketCommListener
The server socket communication listener.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- onAcceptCommError- (ServerSocketComm comm, IOException e) Called when the accept new communication gets an error.- void- onCommAccept- (ServerSocketComm comm, SocketChannel socketChannel) Called when a connection should be accepted or rejected.- void- onCommClosed- (ServerSocketComm comm) Called when the communication link is closed.- void- onCommError- (ServerSocketComm comm, IOException e) Called when the communication link gets an error.- void- onCommOpen- (ServerSocketComm comm) Called when the communication link is opened.
- Method Details- onCommOpenCalled when the communication link is opened.- Parameters:
- comm- The server socket communication instance.
 
- onCommAcceptCalled when a connection should be accepted or rejected.- Parameters:
- comm- The server socket communication instance.
 
- onAcceptCommErrorCalled when the accept new communication gets an error.- Parameters:
- comm- The server socket communication instance.
- e- The exception.
 
- onCommErrorCalled when the communication link gets an error.- Parameters:
- comm- The server socket communication instance.
- e- The exception.
 
- onCommClosedCalled when the communication link is closed.- Parameters:
- comm- The server socket communication instance.