ServerSocket

korolev.effect.io.ServerSocket$
See theServerSocket companion class
object ServerSocket

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait ServerSocketHandler[F[_]]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class 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.

Bind server socket to address and accept connections with f.

Attributes

See also
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