| Package | Description |
|---|---|
| org.apache.mina.common |
Common types required for users to use MINA.
|
| org.apache.mina.common.support |
Internal classes used by org.apache.mina.common package.
|
| org.apache.mina.filter.codec |
Filter implementations that helps you to implement complex protocols
via 'codec' concept.
|
| org.apache.mina.filter.codec.support |
Internal classes used by org.apache.mina.filter.codec package.
|
| Modifier and Type | Method and Description |
|---|---|
WriteFuture |
IoFilter.WriteRequest.getFuture()
Returns
WriteFuture that is associated with this write request. |
WriteFuture |
IoSession.write(Object message)
Writes the specified
message to remote peer. |
WriteFuture |
BroadcastIoSession.write(Object message,
SocketAddress destination)
Writes the specified message to the specified destination.
|
| Constructor and Description |
|---|
WriteRequest(Object message,
WriteFuture future)
Creates a new instance with
WriteFuture. |
WriteRequest(Object message,
WriteFuture future,
SocketAddress destination)
Creates a new instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultWriteFuture
A default implementation of
WriteFuture. |
| Modifier and Type | Method and Description |
|---|---|
static WriteFuture |
DefaultWriteFuture.newNotWrittenFuture(IoSession session)
Returns a new
DefaultWriteFuture which is already marked as 'not written'. |
static WriteFuture |
DefaultWriteFuture.newWrittenFuture(IoSession session)
Returns a new
DefaultWriteFuture which is already marked as 'written'. |
WriteFuture |
BaseIoSession.write(Object message) |
WriteFuture |
BaseIoSession.write(Object message,
SocketAddress remoteAddress) |
| Modifier and Type | Method and Description |
|---|---|
WriteFuture |
ProtocolEncoderOutput.flush()
Flushes all buffers you wrote via
ProtocolEncoderOutput.write(ByteBuffer) to
the session. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract WriteFuture |
SimpleProtocolEncoderOutput.doFlush(ByteBuffer buf) |
WriteFuture |
SimpleProtocolEncoderOutput.flush() |
Copyright © 2004–2018 Apache MINA Project. All rights reserved.