final class ServerSocketChannel extends SelectableChannel
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerSocketChannel
- SelectableChannel
- Channel
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
accept: IO[IOException, Option[SocketChannel]]
Accepts a socket connection.
Accepts a socket connection.
Not you must manually manage the lifecyle of the returned socket, calling
closewhen you're finished with it.- returns
None if this socket is in non-blocking mode and no connection is currently available to be accepted.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def bind(local: SocketAddress, backlog: Int): IO[IOException, Unit]
- final def bind(local: SocketAddress): IO[IOException, Unit]
-
final
val
blockingLock: UIO[AnyRef]
- Definition Classes
- SelectableChannel
-
val
channel: java.nio.channels.ServerSocketChannel
- Attributes
- protected
- Definition Classes
- ServerSocketChannel → SelectableChannel → Channel
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
configureBlocking(block: Boolean): IO[IOException, Unit]
- Definition Classes
- SelectableChannel
-
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
val
isBlocking: UIO[Boolean]
- Definition Classes
- SelectableChannel
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isOpen: UIO[Boolean]
Tells whether or not this channel is open.
Tells whether or not this channel is open.
- Definition Classes
- Channel
-
final
val
isRegistered: UIO[Boolean]
- Definition Classes
- SelectableChannel
-
final
def
keyFor(sel: Selector): UIO[Option[SelectionKey]]
- Definition Classes
- SelectableChannel
- final val localAddress: IO[IOException, 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
val
provider: UIO[SelectorProvider]
- Definition Classes
- SelectableChannel
-
final
def
register(sel: Selector, op: Operation): IO[IOException, SelectionKey]
- Definition Classes
- SelectableChannel
-
final
def
register(sel: Selector, op: Operation, att: Option[AnyRef]): IO[IOException, SelectionKey]
- Definition Classes
- SelectableChannel
-
final
def
register(sel: Selector, ops: Set[Operation]): IO[IOException, SelectionKey]
- Definition Classes
- SelectableChannel
-
final
def
register(sel: Selector, ops: Set[Operation], att: Option[AnyRef]): IO[IOException, SelectionKey]
- Definition Classes
- SelectableChannel
- final def setOption[T](name: SocketOption[T], value: T): IO[Exception, Unit]
- final val socket: UIO[ServerSocket]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
val
validOps: UIO[Set[Operation]]
- Definition Classes
- SelectableChannel
-
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()