Client class

Properties

hashCode int
The hash code for this object.
no setterinherited
ip InternetAddress
final
messageCount int
getter/setter pair
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tcpSocket RawSocket
final

Methods

close() → void
listen(void onData(RawSocketEvent event)?, {Function? onError, void onDone()?, bool? cancelOnError}) StreamSubscription<RawSocketEvent>
login(String password) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read([int? len]) Uint8List?
send(Message msg, [int offset = 0, int? count]) Message
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create(String ip, int port) Future<Client>