| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private PendingFuture | |
| private CompletionHandler | |
| private final AtomicBoolean | |
| private boolean | |
| private final int | |
| private static final NativeDispatcher | |
| private final Port | |
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private AsynchronousSocketChannel | finishAccept(FileDescriptor newfd, final InetSocketAddress remote)
Completes the accept by creating the AsynchronousSocketChannel for the given file descriptor and remote address. |
| public AsynchronousChannelGroupImpl | |
| pack-priv Future | implAccept(Object att, CompletionHandler<AsynchronousSocketChannel, Object> handler)
Implements abstract sun. Invoked by accept to accept connection |
| pack-priv void | implClose()
Implements abstract sun. Invoked to close file descriptor/handle. |
| public void | onEvent(int events, boolean mayInvokeDirect)
Implements sun. Invoked by event handling thread when listener socket is polled |
| acceptAttachment | back to summary |
|---|---|
| private Object acceptAttachment | |
| acceptFuture | back to summary |
|---|---|
| private PendingFuture<AsynchronousSocketChannel, Object> acceptFuture | |
| acceptHandler | back to summary |
|---|---|
| private CompletionHandler<AsynchronousSocketChannel, Object> acceptHandler | |
| accepting | back to summary |
|---|---|
| private final AtomicBoolean accepting | |
| acceptPending | back to summary |
|---|---|
| private boolean acceptPending | |
| fdVal | back to summary |
|---|---|
| private final int fdVal | |
| nd | back to summary |
|---|---|
| private static final NativeDispatcher nd | |
| port | back to summary |
|---|---|
| private final Port port | |
| updateLock | back to summary |
|---|---|
| private final Object updateLock | |
| UnixAsynchronousServerSocketChannelImpl | back to summary |
|---|---|
| pack-priv UnixAsynchronousServerSocketChannelImpl(Port port) throws IOException | |
| enableAccept | back to summary |
|---|---|
| private void enableAccept() | |
| finishAccept | back to summary |
|---|---|
| private AsynchronousSocketChannel finishAccept(FileDescriptor newfd, final InetSocketAddress remote) throws IOException Completes the accept by creating the AsynchronousSocketChannel for the given file descriptor and remote address. If this method completes with an IOException then the channel/file descriptor will be closed. | |
| group | back to summary |
|---|---|
| public AsynchronousChannelGroupImpl group() Implements sun.
| |
| implAccept | back to summary |
|---|---|
| pack-priv Future Implements abstract sun. Doc from sun. Invoked by accept to accept connection
| |
| implClose | back to summary |
|---|---|
| pack-priv void implClose() throws IOException Implements abstract sun. Doc from sun. Invoked to close file descriptor/handle.
| |
| onEvent | back to summary |
|---|---|
| public void onEvent(int events, boolean mayInvokeDirect) Implements sun. Invoked by event handling thread when listener socket is polled
| |