ConnectMe class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
client(dynamic address, {int port = 0, bool autoReconnect = true, int queryTimeout = 30, dynamic onLog(String)?, dynamic onError(String, [StackTrace])?, dynamic onConnect()?, dynamic onDisconnect()?})
→ ConnectMeClient
-
-
connect(dynamic address, {int port = 0, bool autoReconnect = true, int queryTimeout = 30, dynamic onLog(String)?, dynamic onError(String, [StackTrace])?, dynamic onConnect()?, dynamic onDisconnect()?})
→ Future<ConnectMeClient>
-
-
serve<C extends ConnectMeClient>(InternetAddress address, {int port = 0, C clientFactory(ConnectMeSocket)?, int queryTimeout = 30, dynamic onLog(String)?, dynamic onError(String, [StackTrace])?, dynamic onConnect(C)?, dynamic onDisconnect(C)?, ConnectMeType type = ConnectMeType.ws})
→ Future<ConnectMeServer<C>>
-
-
server<C extends ConnectMeClient>(InternetAddress address, {int port = 0, C clientFactory(ConnectMeSocket)?, int queryTimeout = 30, dynamic onLog(String)?, dynamic onError(String, [StackTrace])?, dynamic onConnect(C)?, dynamic onDisconnect(C)?, ConnectMeType type = ConnectMeType.ws})
→ ConnectMeServer<C>
-