package channels
- Alphabetic
- By Inheritance
- channels
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
class
AsynchronousByteChannel extends Channel
A byte channel that reads and writes asynchronously.
A byte channel that reads and writes asynchronously.
The read and write operations will never block the calling thread.
- final class AsynchronousChannelGroup extends AnyRef
- final class AsynchronousFileChannel extends Channel
- final class AsynchronousServerSocketChannel extends Channel
- final class AsynchronousSocketChannel extends AsynchronousByteChannel
-
trait
BlockingChannel extends Channel
All channels that support blocking operation.
All channels that support blocking operation. (All channels that are not asynchronous)
- trait Channel extends IOCloseable
-
final
class
DatagramChannel extends SelectableChannel
A java.nio.channels.DatagramChannel wrapper allowing for basic zio.ZIO interoperability.
-
final
class
FileChannel extends BlockingChannel
A channel for reading, writing, mapping, and manipulating a file.
A channel for reading, writing, mapping, and manipulating a file.
Unlike network channels, file channels are seekable with a current position that can be changed. The inherited read and write methods that do not take a position operate at the current position and update the position based on the number of bytes actually read or written.
-
final
class
FileLock extends AnyRef
A token representing a lock on a region of a file.
A token representing a lock on a region of a file. A file-lock object is created each time a lock is acquired on a file via one of the
lockortryLockmethods of theFileChannelclass, or thelockortryLockmethods of theAsynchronousFileChannelclass. -
trait
GatheringByteOps extends AnyRef
A channel that can write bytes from a sequence of buffers.
- implicit final class ManagedBlockingNioOps[-R, +C <: BlockingChannel] extends AnyVal
- implicit final class ManagedNonBlockingNioOps[-R, +C <: SelectableChannel] extends AnyVal
- final class Pipe extends AnyRef
-
trait
ScatteringByteOps extends AnyRef
A channel that can read bytes into a sequence of buffers.
-
trait
SelectableChannel extends BlockingChannel
A channel that can be multiplexed via a zio.nio.channels.Selector.
- final class SelectionKey extends AnyRef
-
final
class
Selector extends IOCloseable
A multiplexor of
SelectableChannelobjects.A multiplexor of
SelectableChannelobjects.Please thoroughly read the documentation for the underlying Java API before attempting to use this.
- final class ServerSocketChannel extends SelectableChannel
- final class SocketChannel extends SelectableChannel
Value Members
- object AsynchronousByteChannel
- object AsynchronousChannelGroup
- object AsynchronousFileChannel
- object AsynchronousServerSocketChannel
- object AsynchronousSocketChannel
- object DatagramChannel
- object FileChannel
- object FileLock
- object GatheringByteOps
- object Pipe
- object ScatteringByteOps
- object SelectionKey
- object Selector
- object ServerSocketChannel
- object SocketChannel