程序包 | 说明 |
---|---|
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 |
Useful IoFilter implementations.
|
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.
|
org.apache.mina.filter.support |
Internal classes used by org.apache.mina.filter package.
|
限定符和类型 | 方法和说明 |
---|---|
WriteFuture |
IoFilter.WriteRequest.getFuture()
Returns
WriteFuture that is associated with this write request. |
WriteFuture |
IoSession.write(java.lang.Object message)
Writes the specified
message to remote peer. |
WriteFuture |
BroadcastIoSession.write(java.lang.Object message,
java.net.SocketAddress destination)
Writes the specified message to the specified destination.
|
构造器和说明 |
---|
IoFilter.WriteRequest(java.lang.Object message,
WriteFuture future)
Creates a new instance with
WriteFuture . |
IoFilter.WriteRequest(java.lang.Object message,
WriteFuture future,
java.net.SocketAddress destination)
Creates a new instance.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultWriteFuture
A default implementation of
WriteFuture . |
限定符和类型 | 方法和说明 |
---|---|
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(java.lang.Object message) |
WriteFuture |
BaseIoSession.write(java.lang.Object message,
java.net.SocketAddress remoteAddress) |
限定符和类型 | 方法和说明 |
---|---|
WriteFuture |
SSLFilter.stopSSL(IoSession session)
Stops the SSL session by sending TLS close_notify message to
initiate TLS closure.
|
限定符和类型 | 方法和说明 |
---|---|
WriteFuture |
ProtocolEncoderOutput.flush()
Flushes all buffers you wrote via
ProtocolEncoderOutput.write(ByteBuffer) to
the session. |
限定符和类型 | 方法和说明 |
---|---|
protected abstract WriteFuture |
SimpleProtocolEncoderOutput.doFlush(ByteBuffer buf) |
WriteFuture |
SimpleProtocolEncoderOutput.flush() |
限定符和类型 | 方法和说明 |
---|---|
WriteFuture |
SSLHandler.writeNetBuffer(IoFilter.NextFilter nextFilter) |