class AsynchronousSocketChannel extends AsynchronousByteChannel
- Alphabetic
- By Inheritance
- AsynchronousSocketChannel
- AsynchronousByteChannel
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AsynchronousSocketChannel(channel: java.nio.channels.AsynchronousSocketChannel)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def bind(address: SocketAddress): IO[IOException, Unit]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- final def connect(socketAddress: SocketAddress): IO[Exception, Unit]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
val
isOpen: UIO[Boolean]
Tells whether or not this channel is open.
Tells whether or not this channel is open.
- Definition Classes
- AsynchronousByteChannel
- final def localAddress: IO[IOException, Option[SocketAddress]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
read[A](dsts: List[ByteBuffer], timeout: Duration): IO[Exception, 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.EOFExceptionif end-of-stream is reached. -
final
def
read[A](dst: ByteBuffer, timeout: Duration): IO[Exception, 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.EOFExceptionif end-of-stream is reached. -
final
def
read(b: ByteBuffer): IO[Exception, 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.EOFExceptionif end-of-stream is reached.- Definition Classes
- AsynchronousByteChannel
- final def readChunk[A](capacity: Int, timeout: Duration): IO[Exception, Chunk[Byte]]
-
final
def
readChunk(capacity: Int): IO[Exception, Chunk[Byte]]
- Definition Classes
- AsynchronousByteChannel
- final def readChunks[A](capacities: List[Int], timeout: Duration): IO[Exception, List[Chunk[Byte]]]
- final def remoteAddress: IO[IOException, Option[SocketAddress]]
- final def setOption[T](name: SocketOption[T], value: T): IO[IOException, Unit]
- final def shutdownInput: IO[IOException, Unit]
- final def shutdownOutput: IO[IOException, Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
write(b: ByteBuffer): IO[Exception, 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
-
final
def
writeChunk(chunk: Chunk[Byte]): IO[Exception, Int]
- Definition Classes
- AsynchronousByteChannel