Channels provide a way to connect to sources of data such as files, sockets or other structures that allow input and/or output of data. more...
| ByteChannel | A ByteChannel is both readable and writable. |
| Channel | A channel is a conduit to IO services covering such items as files, sockets, hardware devices, IO ports, or some software component. |
| GatheringByteChannel | The interface to channels that can write a set of buffers in a single operation. |
| InterruptibleChannel | Channels that implement this interface are both asynchronously closable and interruptible. |
| ReadableByteChannel | A ReadableByteChannel is a type of Channel that can read bytes. |
| ScatteringByteChannel | The interface to channels that can read a set of buffers in a single operation. |
| WritableByteChannel | A WritableByteChannel is a type of Channel that can write bytes. |
| Channels | This class provides several utilities to get I/O streams from channels. |
| DatagramChannel | A DatagramChannel is a selectable channel for part abstraction of datagram socket. |
| FileChannel | An abstract channel type for interaction with a platform file. |
| FileChannel.MapMode | A type of file mapping modes. |
| FileLock | A FileLock represents a locked region of a file. |
| Pipe | A pipe contains two channels. |
| Pipe.SinkChannel | Writable sink channel for writing into. |
| Pipe.SourceChannel | Readable source channel for reading from. |
| SelectableChannel | A channel that can be detected by a selector. |
| SelectionKey | A key that representing the relationship of a channel and the selector. |
| Selector | A controller for selection of SelectableChannel objects. |
| ServerSocketChannel | A ServerSocketChannel is a partly abstracted stream-oriented listening socket which is selectable. |
| SocketChannel | A SocketChannel is a selectable channel for part abstraction of stream connecting socket. |
| AlreadyConnectedException | Thrown when an attempt is made to connect a SocketChannel that is already connected. |
| AsynchronousCloseException | Thrown when the underlying channel for an IO operation is closed by another thread. |
| CancelledKeyException | Thrown when an invalid selection key is used. |
| ClosedByInterruptException | Thrown when a thread is interrupted in a blocking IO operation. |
| ClosedChannelException | This exception is thrown when a channel is closed for the type of operation attempted. |
| ClosedSelectorException | Thrown when an a selector is closed and an IO operation is attempted. |
| ConnectionPendingException | Thrown when an attempt is made to connect a SocketChannel that has a non-blocking connection already underway. |
| FileLockInterruptionException | Thrown when thread was interrupted while waiting to acquire a file lock. |
| IllegalBlockingModeException | Thrown when when operation that requires a specific blocking mode is invoked on a channel that is in a different blocking mode. |
| IllegalSelectorException | Thrown when a call is made to register a channel on a selector that has been created by a different provider. |
| NoConnectionPendingException | Thrown if SocketChannel's finishConnect method is called before the SocketChannel's connect method completed without error. |
| NonReadableChannelException | Thrown when attempting to read from a channel that is not open for reading. |
| NonWritableChannelException | Thrown when attempting to write to a channel that is not open for writing. |
| NotYetBoundException | Thrown if the server socket channel is not bound before an IO operation is made. |
| NotYetConnectedException | Thrown if the socket channel is not connected before an IO operation is invoked. |
| OverlappingFileLockException | Thrown when attempting to acquire a lock that overlaps an existing or pending lock held by this process. |
| UnresolvedAddressException | Thrown when trying to use an unresolved network address in a network operation. |
| UnsupportedAddressTypeException | Thrown when connecting or binding to an unsupported address type. |