NamedRpcNetworkerPipe<T extends RpcFunctionName> mixin base

Superclass Constraints
Mixin Applications

Properties

config RpcConfig
finalinherited
functions Map<int, RpcFunction>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
read Stream<NetworkerPacket<RpcNetworkerPacket>>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
write Stream<NetworkerPacket<Uint8List>>
no setterinherited

Methods

callFunction(int function, Uint8List data, {Channel sender = kAnyChannel, bool forceLocal = false}) bool
inherited
callNamedFunction(T name, Uint8List data, {Channel sender = kAnyChannel, bool forceLocal = false}) bool
connect(NetworkerPipe<RpcNetworkerPacket, dynamic> pipe) → void
inherited
decode(Uint8List data) RpcNetworkerPacket
inherited
decodeChannel(Uint8List data, Channel channel) → (RpcNetworkerPacket, Channel)?
inherited
disconnect(NetworkerPipe<RpcNetworkerPacket, dynamic> pipe) → void
inherited
encode(RpcNetworkerPacket data) Uint8List
inherited
encodeChannel(RpcNetworkerPacket data, Channel channel) → (Uint8List, Channel)?
inherited
getFunction(int function) RawNetworkerPipe?
inherited
getNamedFunction(T name) RawNetworkerPipe?
isValidCall(int function, Channel sender, [Channel receiver = kAnyChannel]) bool
inherited
isValidNamedCall(T name, Channel sender, [Channel receiver = kAnyChannel]) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMessage(Uint8List data, [Channel channel = kAnyChannel]) → void
inherited
registerFunction(int function, {bool canRunLocally = false, RpcNetworkerMode mode = RpcNetworkerMode.authority}) RawNetworkerPipe
inherited
registerNamedFunction(T name) RawNetworkerPipe
registerNamedFunctions(List<T> functions) List<RawNetworkerPipe>
runFunction(RpcNetworkerPacket packet, {bool forceLocal = false}) bool
inherited
runNamedFunction(RpcNetworkerPacket packet, {bool forceLocal = false}) bool
sendMessage(RpcNetworkerPacket data, [Channel channel = kAnyChannel]) → void
inherited
toString() String
A string representation of this object.
inherited
unregisterFunction(int function) bool
inherited
unregisterNamedFunction(T name) bool

Operators

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