|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generic interface for connection handler objects. Within the core GJSA, this interface is only implemented by ServerThreadBase. Custom server implementation, however, may use their own connection handlers, which indeed must implement this interface.
ServerThreadBase
Method Summary | |
void |
close()
Closes this handler. |
java.lang.Thread |
getBaseThread()
Returns the underlying Thread object for this handler. |
int |
getConnNr()
Returns the connection number of this handler. |
java.util.Map |
getData()
Return complete data set for this connection |
boolean |
getRemovementLogging()
Returns whether this ServerThreadHandler will log its removement. |
java.net.Socket |
getSocket()
Returns the underlying Socket object for this handler. |
boolean |
isEncrypted()
Returns whether this handler has an encrypted connection |
boolean |
isObjectTransferring()
Returns whether this handler transfers Java objects through the connection. |
boolean |
mayBeClosed()
Asks whether this handler can be closed. |
Method Detail |
public boolean getRemovementLogging()
public java.lang.Thread getBaseThread()
public java.net.Socket getSocket()
public int getConnNr()
public void close()
public boolean mayBeClosed()
public boolean isEncrypted()
public boolean isObjectTransferring()
public java.util.Map getData()
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |