|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A Session that represents low-level I/O connection between two
endpoints regardless of underlying transport types.
Session| Method Summary | |
IoFilterChain |
getFilterChain()
Returns the filter chain that only affects this session. |
IoHandler |
getHandler()
Returns the event handler for this session. |
void |
write(ByteBuffer buf,
java.lang.Object marker)
Writes the content of the specified buf. |
| Methods inherited from interface org.apache.mina.common.Session |
close, close, getAttachment, getAttribute, getAttributeKeys, getConfig, getCreationTime, getIdleCount, getLastIdleTime, getLastIoTime, getLastReadTime, getLastWriteTime, getLocalAddress, getReadBytes, getRemoteAddress, getScheduledWriteRequests, getTransportType, getWrittenBytes, getWrittenWriteRequests, isConnected, isIdle, removeAttribute, setAttachment, setAttribute |
| Method Detail |
public IoHandler getHandler()
public IoFilterChain getFilterChain()
public void write(ByteBuffer buf,
java.lang.Object marker)
buf.
This operation is asynchronous, and you'll get notified by
IoHandler.dataWritten(IoSession, Object) event.
The specified marker will be passes as a parameter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||