WithAccountPoolAndInitialization

case
class WithAccountPoolAndInitialization[F[_], ServerBoundPackets <: Tuple, ClientBoundPackets <: Tuple, State](accountPool: AccountPool[F], initialState: State, init: ClientInitialization[F, ServerBoundPackets, ClientBoundPackets, State])(implicit evidence$1: MonadCancelThrow[F], evidence$2: Make[F])
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def cached(softBound: Int): F[ClientPool[F, ServerBoundPackets, ClientBoundPackets, State]]

Create a cached account pool. Cached account pools do not have a maximum bound of active connections, but will stop caching the connections once the total number of clients reaches softBound.

Create a cached account pool. Cached account pools do not have a maximum bound of active connections, but will stop caching the connections once the total number of clients reaches softBound.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product