FutureCall<T extends SerializableEntity> class abstract

Superclass of a FutureCall, override the invoke method to create a custom FutureCall. The call also needs to be registered with the top ServerPod object before starting the Server.

Constructors

FutureCall()

Properties

dataType Type
The type of the data provided by when calling invoke.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the call.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server Server
The Server where the call is registered.
no setter

Methods

initialize(Server server, String name) → void
Initializes the FutureCall. This is typically called from the Server when the call is being registered and should not be called directly.
invoke(Session session, T? object) Future<void>
Override this method to do any custom work in a FutureCall.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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