IOServer class

Constructors

IOServer({bool debug = false, bool https = false, String? pathToPem, String? pathToRsa, int port = defaultGamePort})

Properties

clients Set<Socket>
final
container ProviderContainer
final
debug bool
final
hashCode int
The hash code for this object.
no setterinherited
https bool
final
io → Server
final
logger → Logger
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
servers Map<GameCode, GameServer>
final

Methods

addClientToGame(PlayerID id, GameCode gameId) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeClientFromGame(PlayerID id, GameCode gameId) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited