- write
Writes the specified message to remote peer. This operation is asynchronous;
IoHandler#messageSent(I
- close
Closes this session immediately. This operation is asynthronous. Wait for the
returned CloseFuture i
- isConnected
Returns true if this session is connected with remote peer.
- getRemoteAddress
Returns the socket address of remote peer.
- getAttribute
Returns the value of user-defined attribute of this session.
- getLocalAddress
Returns the socket address of local machine which is associated with this
session.
- setAttribute
Sets a user-defined attribute.
- setIdleTime
Sets idle time for the specified type of idleness in seconds.
- getWrittenMessages
Returns the total number of messages which were written and encoded by this
session.
- getTransportType
Returns transport type of this session.
- getWrittenBytes
Returns the total number of bytes which were written to this session.
- getReadBytes
Returns the total number of bytes which were read from this session.