ConnectMeServer<C extends ConnectMeClient> class
Properties
- address → InternetAddress
-
final
-
clients
→ List<
C> -
final
- clientsQueriesTimer ↔ Timer?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- onConnect → dynamic Function(C)?
-
final
- onDisconnect → dynamic Function(C)?
-
final
- onError → dynamic Function(String, [StackTrace])?
-
final
- onLog → dynamic Function(String)?
-
final
- port → int
-
final
- queryTimeout → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ConnectMeType
-
final
Methods
-
broadcast(
dynamic data, {bool where(C)?}) → void -
cancel<
T> (dynamic handler(T, C)) → void -
close(
) → Future< void> -
listen<
T> (dynamic handler(T, C)) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on(
String route, dynamic handler(HttpRequest request)) → void -
register(
Map< int, PackMeMessage Function()> messageFactory) → void -
serve(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited