| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private PendingFuture | |
| private CompletionHandler | |
| private boolean | |
| private static final boolean | |
| private final int | |
| private boolean | |
| private boolean | |
| private static final NativeDispatcher | |
| private SocketAddress | |
| private final Port | |
| private Object | |
| private ByteBuffer | |
| private ByteBuffer[] | |
| private PendingFuture | |
| private CompletionHandler | |
| private boolean | |
| private Runnable | |
| private Runnable | |
| private Future | |
| private final Object | |
| private Object | |
| private ByteBuffer | |
| private ByteBuffer[] | |
| private PendingFuture | |
| private CompletionHandler | |
| private boolean | |
| private Runnable | |
| private Runnable | |
| private Future |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static native void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public AsynchronousChannelGroupImpl | |
| pack-priv void | implClose()
Implements abstract sun. Invoked to close socket and release other resources. |
| pack-priv <A> Future | implConnect(SocketAddress remote, A attachment, CompletionHandler<Void, ? super A> handler)
Implements abstract sun. Invoked by connect to initiate the connect operation. |
| pack-priv <V extends Number, A> Future | implRead(boolean isScatteringRead, ByteBuffer dst, ByteBuffer[] dsts, long timeout, TimeUnit unit, A attachment, CompletionHandler<V, ? super A> handler)
Implements abstract sun. Initiates a read or scattering read operation |
| pack-priv <V extends Number, A> Future | implWrite(boolean isGatheringWrite, ByteBuffer src, ByteBuffer[] srcs, long timeout, TimeUnit unit, A attachment, CompletionHandler<V, ? super A> handler)
Implements abstract sun. Initiates a read or scattering read operation |
| private void | |
| public void | onCancel(PendingFuture<?, ?> task)
Implements sun. Invoked to notify channel that cancel has been invoked while holding the Future's lock. |
| public void | onEvent(int events, boolean mayInvokeDirect)
Implements sun. Invoked by event handler thread when file descriptor is polled |
| private void | |
| private void |
| connectAttachment | back to summary |
|---|---|
| private Object connectAttachment | |
| connectFuture | back to summary |
|---|---|
| private PendingFuture<Void, Object> connectFuture | |
| connectHandler | back to summary |
|---|---|
| private CompletionHandler<Void, Object> connectHandler | |
| connectPending | back to summary |
|---|---|
| private boolean connectPending | |
| disableSynchronousRead | back to summary |
|---|---|
| private static final boolean disableSynchronousRead | |
| fdVal | back to summary |
|---|---|
| private final int fdVal | |
| isGatheringWrite | back to summary |
|---|---|
| private boolean isGatheringWrite | |
| isScatteringRead | back to summary |
|---|---|
| private boolean isScatteringRead | |
| nd | back to summary |
|---|---|
| private static final NativeDispatcher nd | |
| pendingRemote | back to summary |
|---|---|
| private SocketAddress pendingRemote | |
| port | back to summary |
|---|---|
| private final Port port | |
| readAttachment | back to summary |
|---|---|
| private Object readAttachment | |
| readBuffer | back to summary |
|---|---|
| private ByteBuffer readBuffer | |
| readBuffers | back to summary |
|---|---|
| private ByteBuffer[] readBuffers | |
| readFuture | back to summary |
|---|---|
| private PendingFuture<Number, Object> readFuture | |
| readHandler | back to summary |
|---|---|
| private CompletionHandler<Number, Object> readHandler | |
| readPending | back to summary |
|---|---|
| private boolean readPending | |
| readScopeHandleReleasers | back to summary |
|---|---|
| private Runnable readScopeHandleReleasers | |
| readTimeoutTask | back to summary |
|---|---|
| private Runnable readTimeoutTask | |
| readTimer | back to summary |
|---|---|
| private Future<?> readTimer | |
| updateLock | back to summary |
|---|---|
| private final Object updateLock | |
| writeAttachment | back to summary |
|---|---|
| private Object writeAttachment | |
| writeBuffer | back to summary |
|---|---|
| private ByteBuffer writeBuffer | |
| writeBuffers | back to summary |
|---|---|
| private ByteBuffer[] writeBuffers | |
| writeFuture | back to summary |
|---|---|
| private PendingFuture<Number, Object> writeFuture | |
| writeHandler | back to summary |
|---|---|
| private CompletionHandler<Number, Object> writeHandler | |
| writePending | back to summary |
|---|---|
| private boolean writePending | |
| writeScopeHandleReleasers | back to summary |
|---|---|
| private Runnable writeScopeHandleReleasers | |
| writeTimeoutTask | back to summary |
|---|---|
| private Runnable writeTimeoutTask | |
| writeTimer | back to summary |
|---|---|
| private Future<?> writeTimer | |
| UnixAsynchronousSocketChannelImpl | back to summary |
|---|---|
| pack-priv UnixAsynchronousSocketChannelImpl(Port port) throws IOException | |
| UnixAsynchronousSocketChannelImpl | back to summary |
|---|---|
| pack-priv UnixAsynchronousSocketChannelImpl(Port port, FileDescriptor fd, InetSocketAddress remote) throws IOException | |
| checkConnect | back to summary |
|---|---|
| private static native void checkConnect(int fdVal) throws IOException | |
| finish | back to summary |
|---|---|
| private void finish(boolean mayInvokeDirect, boolean readable, boolean writable) | |
| finishConnect | back to summary |
|---|---|
| private void finishConnect(boolean mayInvokeDirect) | |
| finishRead | back to summary |
|---|---|
| private void finishRead(boolean mayInvokeDirect) | |
| finishWrite | back to summary |
|---|---|
| private void finishWrite(boolean mayInvokeDirect) | |
| group | back to summary |
|---|---|
| public AsynchronousChannelGroupImpl group() Implements sun.
| |
| implClose | back to summary |
|---|---|
| pack-priv void implClose() throws IOException Implements abstract sun. Doc from sun. Invoked to close socket and release other resources.
| |
| implConnect | back to summary |
|---|---|
| pack-priv <A> Future Implements abstract sun. Doc from sun. Invoked by connect to initiate the connect operation.
| |
| implRead | back to summary |
|---|---|
| pack-priv <V extends Number, A> Future Implements abstract sun. Initiates a read or scattering read operation
| |
| implWrite | back to summary |
|---|---|
| pack-priv <V extends Number, A> Future Implements abstract sun. Initiates a read or scattering read operation
| |
| lockAndUpdateEvents | back to summary |
|---|---|
| private void lockAndUpdateEvents() | |
| onCancel | back to summary |
|---|---|
| public void onCancel(PendingFuture<?, ?> task) Implements sun. Doc from sun. Invoked to notify channel that cancel has been invoked while holding the Future's lock.
| |
| onEvent | back to summary |
|---|---|
| public void onEvent(int events, boolean mayInvokeDirect) Implements sun. Invoked by event handler thread when file descriptor is polled
| |
| setConnected | back to summary |
|---|---|
| private void setConnected() throws IOException | |
| updateEvents | back to summary |
|---|---|
| private void updateEvents() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final UnixAsynchronousSocketChannelImpl. | |
| public static final UnixAsynchronousSocketChannelImpl. | |
| public static final UnixAsynchronousSocketChannelImpl. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static UnixAsynchronousSocketChannelImpl. | |
| public static UnixAsynchronousSocketChannelImpl. |
| CONNECT | back to summary |
|---|---|
| public static final UnixAsynchronousSocketChannelImpl. | |
| READ | back to summary |
|---|---|
| public static final UnixAsynchronousSocketChannelImpl. | |
| WRITE | back to summary |
|---|---|
| public static final UnixAsynchronousSocketChannelImpl. | |
| OpType | back to summary |
|---|---|
| private OpType() | |
| valueOf | back to summary |
|---|---|
| public static UnixAsynchronousSocketChannelImpl. | |
| values | back to summary |
|---|---|
| public static UnixAsynchronousSocketChannelImpl. | |