korolev.effect.io.ServerSocket$
See theServerSocket companion class
object ServerSocket
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServerSocket.type
Members list
Type members
Classlikes
object ServerSocketHandler
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServerSocketHandler.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
def accept[F[_] : Effect, B : BytesLike](address: SocketAddress, backlog: Int, bufferSize: Int, group: AsynchronousChannelGroup, gracefulShutdown: Boolean)(f: RawDataSocket[F, B] => F[Unit])(implicit evidence$3: Effect[F], evidence$4: BytesLike[B], ec: ExecutionContext): F[ServerSocketHandler[F]]
Bind server socket to address and accept connections with f.
def bind[F[_] : Effect, B : BytesLike](socketAddress: SocketAddress, backlog: Int, bufferSize: Int, group: AsynchronousChannelGroup): F[ServerSocket[F, B]]
Open an AsynchronousServerSocketChannel and bind it to socketAddress.
Open an AsynchronousServerSocketChannel and bind it to socketAddress.
Attributes
- See also
-
AsynchronousServerSocketChannel
In this article