|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionHandlerContext
Context that is available to all handle methods for the
ConnectionHandler.
| Method Summary | |
|---|---|
Object |
getContextObject()
Obtains the context bound object. |
long |
getTime()
Obtains the current time in milliseconds. |
void |
setCloseConnection(boolean isClose)
Flags to close the Connection. |
void |
setContextObject(Object contextObject)
Specifies the context bound object. |
| Method Detail |
|---|
void setCloseConnection(boolean isClose)
Connection.
isClose - true to close the Connection.long getTime()
Obtains the current time in milliseconds.
This should return similar to System.currentTimeMillis() but is
provided to cache time for multiple quick operations that require only
estimates of time.
Note CPU operations should be in the nanoseconds.
Object getContextObject()
void setContextObject(Object contextObject)
contextObject - Context bound object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||