Packages

final class AsynchronousSocketChannel extends AsynchronousByteChannel

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. Protected

Instance Constructors

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bind(address: Option[SocketAddress])(implicit trace: Trace): IO[IOException, Unit]
  6. def bindAuto(implicit trace: Trace): IO[IOException, Unit]
  7. def bindTo(address: SocketAddress)(implicit trace: Trace): IO[IOException, Unit]
  8. val channel: java.nio.channels.AsynchronousSocketChannel
    Attributes
    protected
    Definition Classes
    AsynchronousSocketChannelAsynchronousByteChannelChannel
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def close(implicit trace: Trace): IO[IOException, Unit]

    Closes this channel.

    Closes this channel.

    Definition Classes
    ChannelIOCloseable
  11. def connect(socketAddress: SocketAddress)(implicit trace: Trace): IO[IOException, Unit]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def isOpen(implicit trace: Trace): UIO[Boolean]

    Tells whether or not this channel is open.

    Tells whether or not this channel is open.

    Definition Classes
    Channel
  19. def localAddress(implicit trace: Trace): IO[IOException, Option[SocketAddress]]
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def read(dsts: List[ByteBuffer], timeout: zio.Duration)(implicit trace: Trace): IO[IOException, Long]

    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: Trace): IO[IOException, Int]

    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: Trace): IO[IOException, Int]

    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: Trace): IO[IOException, Chunk[Byte]]
  27. final def readChunk(capacity: Int)(implicit trace: Trace): IO[IOException, Chunk[Byte]]
    Definition Classes
    AsynchronousByteChannel
  28. def readChunks(capacities: List[Int], timeout: zio.Duration)(implicit trace: Trace): IO[IOException, List[Chunk[Byte]]]
  29. def remoteAddress(implicit trace: Trace): IO[IOException, Option[SocketAddress]]
  30. def setOption[T](name: SocketOption[T], value: T)(implicit trace: Trace): IO[IOException, Unit]
  31. def shutdownInput(implicit trace: Trace): IO[IOException, Unit]
  32. def shutdownOutput(implicit trace: Trace): IO[IOException, Unit]
  33. def sink(bufferConstruct0: => UIO[ByteBuffer])(implicit trace: Trace): ZSink[Any, IOException, Byte, Byte, Long]

    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: Trace): ZSink[Any, IOException, Byte, Byte, Long]
    Definition Classes
    AsynchronousByteChannel
  35. def stream(bufferConstruct: UIO[ByteBuffer])(implicit trace: Trace): Stream[IOException, Byte]

    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: Trace): Stream[IOException, Byte]
    Definition Classes
    AsynchronousByteChannel
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. def write(srcs: List[ByteBuffer], timeout: zio.Duration)(implicit trace: Trace): IO[IOException, Long]
  43. def write(src: ByteBuffer, timeout: zio.Duration)(implicit trace: Trace): IO[IOException, Int]
  44. final def write(b: ByteBuffer)(implicit trace: Trace): IO[IOException, Int]

    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: Trace): IO[IOException, Unit]
  46. final def writeChunk(chunk: Chunk[Byte])(implicit trace: Trace): ZIO[Any, IOException, Unit]

    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: Trace): IO[IOException, Long]

Inherited from Channel

Inherited from IOCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped