final class AsynchronousServerSocketChannel extends Channel
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AsynchronousServerSocketChannel
- Channel
- IOCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AsynchronousServerSocketChannel(channel: java.nio.channels.AsynchronousServerSocketChannel)
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
-
def
accept(implicit trace: ZTraceElement): Managed[IOException, AsynchronousSocketChannel]
Accepts a connection.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bind(address: Option[SocketAddress], backlog: Int = 0)(implicit trace: ZTraceElement): IO[IOException, Unit]
Binds the channel's socket to a local address and configures the socket to listen for connections, up to backlog pending connection.
- def bindAuto(backlog: Int = 0)(implicit trace: ZTraceElement): IO[IOException, Unit]
- def bindTo(local: SocketAddress, backlog: Int = 0)(implicit trace: ZTraceElement): IO[IOException, Unit]
-
val
channel: java.nio.channels.AsynchronousServerSocketChannel
- Attributes
- protected
- Definition Classes
- AsynchronousServerSocketChannel → Channel
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
close(implicit trace: ZTraceElement): IO[IOException, Unit]
Closes this channel.
Closes this channel.
- Definition Classes
- Channel → IOCloseable
-
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
def
isOpen(implicit trace: ZTraceElement): UIO[Boolean]
Tells whether or not this channel is open.
Tells whether or not this channel is open.
- Definition Classes
- Channel
-
def
localAddress(implicit trace: ZTraceElement): IO[IOException, Option[SocketAddress]]
The
SocketAddressthat the socket is bound to, or theSocketAddressrepresenting the loopback address if denied by the security manager, orMaybe.emptyif the channel's socket is not bound. -
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()
- def setOption[T](name: SocketOption[T], value: T)(implicit trace: ZTraceElement): 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()