|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClientConnectionListener
This interface is implemented by the ClientSessionManager in order to processing new incoming connections. This interface allows the Socket connection type (and others) to seamlessly be changed from the NetPhantom perspective.
| Method Summary | |
|---|---|
boolean |
isClientConnectionAllowed(String id,
ServerSocketInterface ssi,
Socket socket)
Checks if a client is allowed to connect or not. |
void |
onClientConnect(String id,
ClientCommunicationInterface cci)
Notifies the Client Session Manager that a new client connection has been made. |
void |
onRemoteApplicationConnect(String id,
ClientCommunicationInterface cci)
Notifies the Client Session Manager that a new remote application connection has been made. |
void |
onUnknownConnect(String id,
ServerSocketInterface ssi,
Socket s,
int firstChar)
Notifies the Client Session Manager that an unknown connection type has been made. |
| Method Detail |
|---|
boolean isClientConnectionAllowed(String id,
ServerSocketInterface ssi,
Socket socket)
void onClientConnect(String id,
ClientCommunicationInterface cci)
void onRemoteApplicationConnect(String id,
ClientCommunicationInterface cci)
throws IOException
IOException - when a connection cannot be established.
void onUnknownConnect(String id,
ServerSocketInterface ssi,
Socket s,
int firstChar)
throws IOException
IOException - when a connection cannot be established.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||