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 | Description |
---|---|---|
static void |
IoUtil.await(Iterable<? extends IoFuture> futures) |
|
static boolean |
IoUtil.await(Iterable<? extends IoFuture> futures,
long timeoutMillis) |
|
static boolean |
IoUtil.await(Iterable<? extends IoFuture> futures,
long timeout,
TimeUnit unit) |
|
static void |
IoUtil.awaitUninterruptably(Iterable<? extends IoFuture> futures) |
|
static boolean |
IoUtil.awaitUninterruptibly(Iterable<? extends IoFuture> futures,
long timeoutMillis) |
|
static boolean |
IoUtil.awaitUninterruptibly(Iterable<? extends IoFuture> futures,
long timeout,
TimeUnit unit) |
Modifier and Type | Class | 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 | 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 | 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 | Description |
---|---|---|
static IoFutureListener<IoFuture> |
IoFutureListener.CLOSE |
Modifier and Type | Method | 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 | Description |
---|---|---|
class |
AbstractPollingIoConnector.ConnectionRequest |
Modifier and Type | Class | Description |
---|---|---|
static class |
AbstractIoAcceptor.AcceptorOperationFuture |
|
protected static class |
AbstractIoService.ServiceOperationFuture |
A specific class used to
|
Modifier and Type | Method | 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 | Description |
---|---|---|
interface |
IoSessionInitializer<T extends IoFuture> |
Defines a callback for obtaining the
IoSession during
session initialization. |
Copyright © 2004–2018 Apache MINA Project. All rights reserved.