|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface specifies the behaviour of the ConnectionHandler. It is used in conjuction with the ServletConnection to achieve the desired communication.
Method Summary | |
java.lang.Object |
getConnectionData()
Used when handshaking to get the connection data. |
void |
handleData(java.lang.Object data)
Used to handle data recieved by the ServletConnection. |
boolean |
isConnected()
Used to retrieve the current connection status. |
void |
setConnected(boolean connected)
Used to set the connection status. |
void |
setConnectionResponse(java.lang.Object response)
The response given in a handshake procedure. |
Method Detail |
public java.lang.Object getConnectionData()
public void setConnectionResponse(java.lang.Object response)
response
- The response from a handshake.public boolean isConnected()
public void setConnected(boolean connected)
connected
- true or false.public void handleData(java.lang.Object data)
data
- The data to be handled.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |