public interface WriteRequest
IoSession.write(java.lang.Object)
method,
which is transmitted through the filter chain and finish as a socket write.Modifier and Type | Method and Description |
---|---|
IoFuture<Void> |
getFuture()
The future to be completed on a write success
|
Object |
getMessage()
Get the message stored for this request.
|
Object |
getOriginalMessage()
Gets the original message, as written by the handler, before passing through the filter chain.
|
void |
setFuture(IoFuture<Void> future)
Store the future into the request
|
void |
setMessage(Object message)
Store the encoded message
|
Object getMessage()
void setMessage(Object message)
The
- encoded messageObject getOriginalMessage()
IoFuture<Void> getFuture()
Copyright © 2009–2013 Apache MINA Project. All rights reserved.