|
||||||||||
| 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. |
|
IoFilter.WriteRequest(Object message,
WriteFuture future,
SocketAddress destination)
Creates a new instance. |
|
| Method Summary | |
|---|---|
SocketAddress |
getDestination()
Returne the destination of this write request. |
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.
public IoFilter.WriteRequest(Object message,
WriteFuture future,
SocketAddress destination)
message - a message to writefuture - a future that needs to be notified when an operation is finisheddestination - the destination of the message. This property will be
ignored unless the transport supports it.| Method Detail |
|---|
public WriteFuture getFuture()
WriteFuture that is associated with this write request.
public Object getMessage()
public SocketAddress getDestination()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||