ConnectMeClient class

Constructors

ConnectMeClient(ConnectMeSocket socket)

Properties

address → dynamic
final
autoReconnect bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>
final
onConnect Function?
getter/setter pair
onDisconnect Function?
getter/setter pair
onError → (dynamic Function(String, [StackTrace])?)
final
onLog → (dynamic Function(String)?)
final
port int
final
queryTimeout int
getter/setter pair
reconnectTimer Timer?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socket ConnectMeSocket
getter/setter pair

Methods

cancel<T>(dynamic handler(T)) → void
close() Future<void>
connect() Future<void>
listen<T>(dynamic handler(T)) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query<T extends PackMeMessage>(PackMeMessage message) Future<T>
register(Map<int, PackMeMessage Function()> messageFactory) → void
send(dynamic data) → void
toString() String
A string representation of this object.
inherited

Operators

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