Class/Object

zio.nio.channels

AsynchronousSocketChannel

Related Docs: object AsynchronousSocketChannel | package channels

Permalink

final class AsynchronousSocketChannel extends AsynchronousByteChannel

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsynchronousSocketChannel
  2. AsynchronousByteChannel
  3. Channel
  4. IOCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AsynchronousSocketChannel(channel: java.nio.channels.AsynchronousSocketChannel)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bind(address: Option[SocketAddress])(implicit trace: ZTraceElement): IO[IOException, Unit]

    Permalink
  6. def bindAuto(implicit trace: ZTraceElement): IO[IOException, Unit]

    Permalink
  7. def bindTo(address: SocketAddress)(implicit trace: ZTraceElement): IO[IOException, Unit]

    Permalink
  8. val channel: java.nio.channels.AsynchronousSocketChannel

    Permalink
    Attributes
    protected
    Definition Classes
    AsynchronousSocketChannelAsynchronousByteChannelChannel
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def close(implicit trace: ZTraceElement): IO[IOException, Unit]

    Permalink

    Closes this channel.

    Closes this channel.

    Definition Classes
    ChannelIOCloseable
  11. def connect(socketAddress: SocketAddress)(implicit trace: ZTraceElement): IO[IOException, Unit]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def isOpen(implicit trace: ZTraceElement): UIO[Boolean]

    Permalink

    Tells whether or not this channel is open.

    Tells whether or not this channel is open.

    Definition Classes
    Channel
  19. def localAddress(implicit trace: ZTraceElement): IO[IOException, Option[SocketAddress]]

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def read(dsts: List[ByteBuffer], timeout: zio.Duration)(implicit trace: ZTraceElement): IO[IOException, Long]

    Permalink

    Reads data from this channel into a set of buffers, returning the number of bytes read.

    Reads data from this channel into a set of buffers, returning the number of bytes read.

    Fails with java.io.EOFException if end-of-stream is reached.

  24. def read(dst: ByteBuffer, timeout: zio.Duration)(implicit trace: ZTraceElement): IO[IOException, Int]

    Permalink

    Reads data from this channel into buffer, returning the number of bytes read.

    Reads data from this channel into buffer, returning the number of bytes read.

    Fails with java.io.EOFException if end-of-stream is reached.

  25. final def read(b: ByteBuffer)(implicit trace: ZTraceElement): IO[IOException, Int]

    Permalink

    Reads data from this channel into buffer, returning the number of bytes read.

    Reads data from this channel into buffer, returning the number of bytes read.

    Fails with java.io.EOFException if end-of-stream is reached.

    Definition Classes
    AsynchronousByteChannel
  26. def readChunk(capacity: Int, timeout: zio.Duration)(implicit trace: ZTraceElement): IO[IOException, Chunk[Byte]]

    Permalink
  27. final def readChunk(capacity: Int)(implicit trace: ZTraceElement): IO[IOException, Chunk[Byte]]

    Permalink
    Definition Classes
    AsynchronousByteChannel
  28. def readChunks(capacities: List[Int], timeout: zio.Duration)(implicit trace: ZTraceElement): IO[IOException, List[Chunk[Byte]]]

    Permalink
  29. def remoteAddress(implicit trace: ZTraceElement): IO[IOException, Option[SocketAddress]]

    Permalink
  30. def setOption[T](name: SocketOption[T], value: T)(implicit trace: ZTraceElement): IO[IOException, Unit]

    Permalink
  31. def shutdownInput(implicit trace: ZTraceElement): IO[IOException, Unit]

    Permalink
  32. def shutdownOutput(implicit trace: ZTraceElement): IO[IOException, Unit]

    Permalink
  33. def sink(bufferConstruct0: ⇒ UIO[ByteBuffer])(implicit trace: ZTraceElement): ZSink[Any, IOException, Byte, Byte, Long]

    Permalink

    A sink that will write all the bytes it receives to this channel.

    A sink that will write all the bytes it receives to this channel.

    Definition Classes
    AsynchronousByteChannel
  34. def sink()(implicit trace: ZTraceElement): ZSink[Any, IOException, Byte, Byte, Long]

    Permalink
    Definition Classes
    AsynchronousByteChannel
  35. def stream(bufferConstruct: UIO[ByteBuffer])(implicit trace: ZTraceElement): Stream[IOException, Byte]

    Permalink

    A ZStream that reads from this channel.

    A ZStream that reads from this channel. The stream terminates without error if the channel reaches end-of-stream.

    bufferConstruct

    Optional, overrides how to construct the buffer used to transfer bytes read from this channel into the stream.

    Definition Classes
    AsynchronousByteChannel
  36. def stream()(implicit trace: ZTraceElement): Stream[IOException, Byte]

    Permalink
    Definition Classes
    AsynchronousByteChannel
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def write(srcs: List[ByteBuffer], timeout: zio.Duration)(implicit trace: ZTraceElement): IO[IOException, Long]

    Permalink
  43. def write(src: ByteBuffer, timeout: zio.Duration)(implicit trace: ZTraceElement): IO[IOException, Int]

    Permalink
  44. final def write(b: ByteBuffer)(implicit trace: ZTraceElement): IO[IOException, Int]

    Permalink

    Writes data into this channel from buffer, returning the number of bytes written.

    Writes data into this channel from buffer, returning the number of bytes written.

    Definition Classes
    AsynchronousByteChannel
  45. def writeChunk(chunk: Chunk[Byte], timeout: zio.Duration)(implicit trace: ZTraceElement): IO[IOException, Unit]

    Permalink
  46. final def writeChunk(chunk: Chunk[Byte])(implicit trace: ZTraceElement): ZIO[Any, IOException, Unit]

    Permalink

    Writes a chunk of bytes to this channel.

    Writes a chunk of bytes to this channel.

    More than one write operation may be performed to write out the entire chunk.

    Definition Classes
    AsynchronousByteChannel
  47. def writeChunks(chunks: List[Chunk[Byte]], timeout: zio.Duration)(implicit trace: ZTraceElement): IO[IOException, Long]

    Permalink

Inherited from AsynchronousByteChannel

Inherited from Channel

Inherited from IOCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped