RoomNetworkerPlugin<T> class final

Inheritance

Constructors

RoomNetworkerPlugin()

Properties

hashCode → int
The hash code for this object.
no setterinherited
read → Stream<NetworkerPacket>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
write → Stream<NetworkerPacket>
no setterinherited

Methods

addRoom(String room) → void
connect(NetworkerPipe pipe) → void
inherited
decode(dynamic data) → dynamic
inherited
decodeChannel(dynamic data, Channel channel) → FutureOr<(dynamic, Channel)?>
inherited
disconnect(NetworkerPipe pipe) → void
inherited
dispose() → void
Disposes all stream controllers and disconnects all connected pipes.
inherited
encode(dynamic data) → dynamic
inherited
encodeChannel(dynamic data, Channel channel) → FutureOr<(dynamic, Channel)?>
inherited
hasRoom(String room) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMessage(dynamic data, [Channel channel = kAnyChannel]) → Future<void>
override
removeRoom(String room) → void
sendMessage(dynamic data, [Channel channel = kAnyChannel]) → Future<void>
inherited
sendPacket(dynamic data, Channel channel) → FutureOr<void>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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