Package | Description |
---|---|
org.apache.mina.core |
Common types required for users to use MINA.
|
org.apache.mina.core.future | |
org.apache.mina.core.service | |
org.apache.mina.core.session | |
org.apache.mina.core.write | |
org.apache.mina.filter.codec |
Filter implementations that helps you to implement complex protocols via 'codec' concept.
|
org.apache.mina.filter.ssl |
Classes that implement IoFilter and provide Secure Sockets Layer functionality.
|
org.apache.mina.proxy |
Modifier and Type | Method and Description |
---|---|
static List<WriteFuture> |
IoUtil.broadcast(Object message,
Collection<IoSession> sessions)
Writes the specified
message to the specified sessions . |
static List<WriteFuture> |
IoUtil.broadcast(Object message,
IoSession... sessions)
Writes the specified
message to the specified sessions . |
static List<WriteFuture> |
IoUtil.broadcast(Object message,
Iterable<IoSession> sessions)
Writes the specified
message to the specified sessions . |
static List<WriteFuture> |
IoUtil.broadcast(Object message,
Iterator<IoSession> sessions)
Writes the specified
message to the specified sessions . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultWriteFuture
A default implementation of
WriteFuture . |
Modifier and Type | Method and Description |
---|---|
WriteFuture |
WriteFuture.addListener(IoFutureListener<?> listener)
Adds an event listener which is notified when
this future is completed.
|
WriteFuture |
DefaultWriteFuture.addListener(IoFutureListener<?> listener)
Adds an event listener which is notified when
this future is completed.
|
WriteFuture |
WriteFuture.await()
Wait for the asynchronous operation to complete.
|
WriteFuture |
DefaultWriteFuture.await()
Wait for the asynchronous operation to complete.
|
WriteFuture |
WriteFuture.awaitUninterruptibly()
Wait for the asynchronous operation to complete uninterruptibly.
|
WriteFuture |
DefaultWriteFuture.awaitUninterruptibly()
Wait for the asynchronous operation to complete uninterruptibly.
|
static WriteFuture |
DefaultWriteFuture.newNotWrittenFuture(IoSession session,
Throwable cause)
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 |
WriteFuture.removeListener(IoFutureListener<?> listener)
Removes an existing event listener so it won't be notified when
the future is completed.
|
WriteFuture |
DefaultWriteFuture.removeListener(IoFutureListener<?> listener)
Removes an existing event listener so it won't be notified when
the future is completed.
|
Modifier and Type | Method and Description |
---|---|
Set<WriteFuture> |
IoService.broadcast(Object message)
Writes the specified
message to all the IoSession s
managed by this service. |
Set<WriteFuture> |
AbstractIoService.broadcast(Object message)
Writes the specified
message to all the IoSession s
managed by this service. |
Modifier and Type | Method and Description |
---|---|
WriteFuture |
IoSession.write(Object message)
Writes the specified
message to remote peer. |
WriteFuture |
AbstractIoSession.write(Object message)
Writes the specified
message to remote peer. |
WriteFuture |
IoSession.write(Object message,
SocketAddress destination)
(Optional) Writes the specified message to the specified destination.
|
WriteFuture |
AbstractIoSession.write(Object message,
SocketAddress remoteAddress)
(Optional) Writes the specified message to the specified destination.
|
Modifier and Type | Method and Description |
---|---|
WriteFuture |
WriteRequest.getFuture() |
WriteFuture |
DefaultWriteRequest.getFuture() |
Constructor and Description |
---|
DefaultWriteRequest(Object message,
WriteFuture future)
Creates a new instance with
WriteFuture . |
DefaultWriteRequest(Object message,
WriteFuture future,
SocketAddress destination)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
WriteFuture |
ProtocolEncoderOutput.flush()
Flushes all buffers you wrote via
ProtocolEncoderOutput.write(Object) to
the session. |
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 |
---|---|
protected WriteFuture |
AbstractProxyLogicHandler.writeData(IoFilter.NextFilter nextFilter,
IoBuffer data)
Writes data to the proxy server.
|
Copyright © 2004–2020 Apache MINA Project. All rights reserved.