Package | Description |
---|---|
org.apache.mina.core |
Common types required for users to use MINA.
|
org.apache.mina.core.future | |
org.apache.mina.core.polling |
Base class for implementing transport based on active polling strategies like NIO select call, or any API
based on I/O polling system calls (epoll, poll, select, kqueue, etc).
|
org.apache.mina.core.service | |
org.apache.mina.core.session |
Modifier and Type | Method and Description |
---|---|
static void |
IoUtil.await(java.lang.Iterable<? extends IoFuture> futures) |
static boolean |
IoUtil.await(java.lang.Iterable<? extends IoFuture> futures,
long timeoutMillis) |
static boolean |
IoUtil.await(java.lang.Iterable<? extends IoFuture> futures,
long timeout,
java.util.concurrent.TimeUnit unit) |
static void |
IoUtil.awaitUninterruptably(java.lang.Iterable<? extends IoFuture> futures) |
static boolean |
IoUtil.awaitUninterruptibly(java.lang.Iterable<? extends IoFuture> futures,
long timeoutMillis) |
static boolean |
IoUtil.awaitUninterruptibly(java.lang.Iterable<? extends IoFuture> futures,
long timeout,
java.util.concurrent.TimeUnit unit) |
Modifier and Type | Class and Description |
---|---|
class |
CompositeIoFuture<E extends IoFuture>
|
interface |
IoFutureListener<F extends IoFuture>
Something interested in being notified when the completion
of an asynchronous I/O operation :
IoFuture . |
Modifier and Type | Interface and Description |
---|---|
interface |
CloseFuture
An
IoFuture for asynchronous close requests. |
interface |
ConnectFuture
An
IoFuture for asynchronous connect requests. |
interface |
ReadFuture
An
IoFuture for asynchronous read requests . |
interface |
WriteFuture
An
IoFuture for asynchronous write requests. |
Modifier and Type | Class and Description |
---|---|
class |
CompositeIoFuture<E extends IoFuture>
|
class |
DefaultCloseFuture
A default implementation of
CloseFuture . |
class |
DefaultConnectFuture
A default implementation of
ConnectFuture . |
class |
DefaultIoFuture
|
class |
DefaultReadFuture
A default implementation of
WriteFuture . |
class |
DefaultWriteFuture
A default implementation of
WriteFuture . |
Modifier and Type | Field and Description |
---|---|
static IoFutureListener<IoFuture> |
IoFutureListener.CLOSE
|
Modifier and Type | Method and Description |
---|---|
IoFuture |
DefaultIoFuture.addListener(IoFutureListener<?> listener)
Adds an event listener which is notified when
this future is completed.
|
IoFuture |
IoFuture.addListener(IoFutureListener<?> listener)
Adds an event listener which is notified when
this future is completed.
|
IoFuture |
DefaultIoFuture.await()
Wait for the asynchronous operation to complete.
|
IoFuture |
IoFuture.await()
Wait for the asynchronous operation to complete.
|
IoFuture |
DefaultIoFuture.awaitUninterruptibly()
Wait for the asynchronous operation to complete uninterruptibly.
|
IoFuture |
IoFuture.awaitUninterruptibly()
Wait for the asynchronous operation to complete uninterruptibly.
|
IoFuture |
DefaultIoFuture.removeListener(IoFutureListener<?> listener)
Removes an existing event listener so it won't be notified when
the future is completed.
|
IoFuture |
IoFuture.removeListener(IoFutureListener<?> listener)
Removes an existing event listener so it won't be notified when
the future is completed.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPollingIoConnector.ConnectionRequest |
Modifier and Type | Class and Description |
---|---|
static class |
AbstractIoAcceptor.AcceptorOperationFuture |
protected static class |
AbstractIoService.ServiceOperationFuture |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractIoConnector.finishSessionInitialization0(IoSession session,
IoFuture future)
Adds required internal attributes and
IoFutureListener s
related with event notifications to the specified session
and future . |
protected void |
AbstractIoService.finishSessionInitialization0(IoSession session,
IoFuture future)
Implement this method to perform additional tasks required for session
initialization.
|
protected void |
AbstractIoService.initSession(IoSession session,
IoFuture future,
IoSessionInitializer sessionInitializer) |
Modifier and Type | Interface and Description |
---|---|
interface |
IoSessionInitializer<T extends IoFuture>
Defines a callback for obtaining the
IoSession during
session initialization. |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.