Package | Description |
---|---|
org.apache.mina.common |
Common types required for users to use MINA.
|
org.apache.mina.filter |
Useful IoFilter implementations.
|
org.apache.mina.filter.codec |
Filter implementations that helps you to implement complex protocols
via 'codec' concept.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
WriteRequest(java.lang.Object message,
WriteFuture future)
Creates a new instance with
WriteFuture . |
WriteRequest(java.lang.Object message,
WriteFuture future,
java.net.SocketAddress destination)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
WriteFuture |
SSLFilter.stopSSL(IoSession session)
Stops the SSL session by sending TLS close_notify message to
initiate TLS closure.
|
Modifier and Type | Method and Description |
---|---|
WriteFuture |
ProtocolEncoderOutput.flush()
Flushes all buffers you wrote via
ProtocolEncoderOutput.write(ByteBuffer) to
the session. |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.