Uses of Interface
java.nio.channels.Channel
| Package | Description |
|---|---|
| java.lang | |
| java.nio.channels | |
| java.nio.channels.spi |
-
Uses of Channel in java.lang
Methods in java.lang that return Channel Modifier and Type Method Description static ChannelSystem. inheritedChannel()Returns the inherited channel from the creator of the current virtual machine. -
Uses of Channel in java.nio.channels
Subinterfaces of Channel in java.nio.channels Modifier and Type Interface Description interfaceByteChannelA ByteChannel is both readable and writable.interfaceGatheringByteChannelThe interface for channels that can write a set of buffers in a single operation.interfaceInterruptibleChannelChannels that implement this interface can be asynchronously closed and interrupted.interfaceReadableByteChannelAReadableByteChannelis a type ofChannelthat can read bytes.interfaceScatteringByteChannelThe interface for channels that can read data into a set of buffers in a single operation.interfaceWritableByteChannelAWritableByteChannelis a type ofChannelthat can write bytes.Classes in java.nio.channels that implement Channel Modifier and Type Class Description classDatagramChannelADatagramChannelis a selectable channel that represents a partial abstraction of a datagram socket.classFileChannelAn abstract channel type for interaction with a platform file.static classPipe.SinkChannelWritable sink channel used to write to a pipe.static classPipe.SourceChannelReadable source channel used to read from a pipe.classSelectableChannelA channel that can be used with aSelector.classServerSocketChannelAServerSocketChannelis a partial abstraction of a selectable, stream-oriented listening socket.classSocketChannelASocketChannelis a selectable channel that provides a partial abstraction of stream connecting socket. -
Uses of Channel in java.nio.channels.spi
Classes in java.nio.channels.spi that implement Channel Modifier and Type Class Description classAbstractInterruptibleChannelAbstractInterruptibleChannelis the root class for interruptible channels.classAbstractSelectableChannelAbstractSelectableChannelis the base implementation class for selectable channels.Methods in java.nio.channels.spi that return Channel Modifier and Type Method Description ChannelSelectorProvider. inheritedChannel()Returns the channel inherited from the process that created this VM.