|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.common.IoFilter.WriteRequest
public static class IoFilter.WriteRequest
Represents write request fired by IoSession.write(Object)
.
Constructor Summary | |
---|---|
IoFilter.WriteRequest(Object message)
Creates a new instance without WriteFuture . |
|
IoFilter.WriteRequest(Object message,
WriteFuture future)
Creates a new instance with WriteFuture . |
Method Summary | |
---|---|
WriteFuture |
getFuture()
Returns WriteFuture that is associated with this write request. |
Object |
getMessage()
Returns a message object to be written. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IoFilter.WriteRequest(Object message)
WriteFuture
. You'll get
an instance of WriteFuture
even if you called this constructor
because getFuture()
will return a bogus future.
public IoFilter.WriteRequest(Object message, WriteFuture future)
WriteFuture
.
Method Detail |
---|
public WriteFuture getFuture()
WriteFuture
that is associated with this write request.
public Object getMessage()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |