Home » openjdk-7 » java » nio » channels »

java.nio.channels

Sub Packages:

java.nio.channels.spi   Service-provider classes for the java.nio.channels package.  

Interfaces:

AsynchronousByteChannel   An asynchronous channel that can read and write bytes.  code | html
AsynchronousChannel   A channel that supports asynchronous I/O operations.  code | html
ByteChannel   A channel that can read and write bytes.  code | html
Channel   A nexus for I/O operations.  code | html
CompletionHandler   A handler for consuming the result of an asynchronous I/O operation.  code | html
GatheringByteChannel   A channel that can write bytes from a sequence of buffers.  code | html
InterruptibleChannel   A channel that can be asynchronously closed and interrupted.  code | html
MulticastChannel   A network channel that supports Internet Protocol (IP) multicasting.  code | html
NetworkChannel   A channel to a network socket.  code | html
ReadableByteChannel   A channel that can read bytes.  code | html
ScatteringByteChannel   A channel that can read bytes into a sequence of buffers.  code | html
SeekableByteChannel   A byte channel that maintains a current position and allows the position to be changed.  code | html
WritableByteChannel   A channel that can write bytes.  code | html

Abstract Classes:

AsynchronousChannelGroup   A grouping of asynchronous channels for the purpose of resource sharing.  code | html
AsynchronousFileChannel   An asynchronous channel for reading, writing, and manipulating a file.  code | html
AsynchronousServerSocketChannel   An asynchronous channel for stream-oriented listening sockets.  code | html
AsynchronousSocketChannel   An asynchronous channel for stream-oriented connecting sockets.  code | html
DatagramChannel   A selectable channel for datagram-oriented sockets.  code | html
FileChannel   A channel for reading, writing, mapping, and manipulating a file.  code | html
FileLock   A token representing a lock on a region of a file.  code | html
MembershipKey   A token representing the membership of an Internet Protocol (IP) multicast group.  code | html
Pipe   A pair of channels that implements a unidirectional pipe.  code | html
Pipe.SinkChannel   A channel representing the writable end of a Pipe .

 
code | html
Pipe.SourceChannel   A channel representing the readable end of a Pipe .

 
code | html
SelectableChannel   A channel that can be multiplexed via a Selector code | html
SelectionKey   A token representing the registration of a SelectableChannel with a Selector code | html
Selector   A multiplexor of SelectableChannel objects.  code | html
ServerSocketChannel   A selectable channel for stream-oriented listening sockets.  code | html
SocketChannel   A selectable channel for stream-oriented connecting sockets.  code | html

Classes:

AlreadyConnectedException   An {@code AlreadyConnectedException} is thrown when an attempt is made to connect a SocketChannel that is already connected.  code | html
AsynchronousCloseException   An {@code AsynchronousCloseException} is thrown when the underlying channel for an I/O operation is closed by another thread.  code | html
CancelledKeyException   A {@code CancelledKeyException} is thrown when an invalid selection key is used.  code | html
Channels   Utility methods for channels and streams.  code | html
Channels.ReadableByteChannelImpl     code | html
Channels.WritableByteChannelImpl     code | html
ClosedByInterruptException   A {@code ClosedByInterruptException} is thrown when a thread is interrupted in a blocking I/O operation.  code | html
ClosedChannelException   A {@code ClosedChannelException} is thrown when a channel is closed for the type of operation attempted.  code | html
ClosedSelectorException   A {@code ClosedSelectorException} is thrown when a selector is closed and an I/O operation is attempted.  code | html
ConnectionPendingException   A {@code ConnectionPendingException} is thrown when an attempt is made to connect a SocketChannel that has a non-blocking connection already underway.  code | html
FileChannel.MapMode   A typesafe enumeration for file-mapping modes.  code | html
FileLockInterruptionException   A {@code FileLockInterruptionException} is thrown when a thread is interrupted while waiting to acquire a file lock.  code | html
IllegalBlockingModeException   An {@code IllegalBlockingModeException} is thrown when an operation that requires a specific blocking mode is invoked on a channel that is in a different blocking mode.  code | html
IllegalSelectorException   An {@code IllegalSelectorException} is thrown when a call is made to register a channel on a selector that has been created by a different provider.  code | html
NoConnectionPendingException   A {@code NoConnectionPendingException} is thrown if {@code SocketChannel}'s finishConnect method is called before the {@code SocketChannel}'s SocketChannel#connect(java.net.SocketAddress) connect} method completed without error.  code | html
NonReadableChannelException   A {@code NonReadableChannelException} is thrown when attempting to read from a channel that is not open for reading.  code | html
NonWritableChannelException   A {@code NonWritableChannelException} is thrown when attempting to write to a channel that is not open for writing.  code | html
NotYetBoundException   A {@code NotYetBoundException} is thrown if the server socket channel is not bound before an I/O operation is made.  code | html
NotYetConnectedException   A {@code NotYetConnectedException} is thrown if the socket channel is not connected before an I/O operation is invoked.  code | html
OverlappingFileLockException   An {@code OverlappingFileLockException} is thrown when attempting to acquire a lock that overlaps an existing or pending lock held by this process.  code | html
UnresolvedAddressException   An {@code UnresolvedAddressException} is thrown when trying to use an unresolved network address in a network operation.  code | html
UnsupportedAddressTypeException   An {@code UnsupportedAddressTypeException} is thrown when connecting or binding to an unsupported address type.  code | html
VMChannels     code | html