TcpSocket class abstract

Abstract TCP socket class.

Implementers

Constructors

TcpSocket()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server ServerSocket?
The underlying server socket.
getter/setter pair
status Stream<TcpEvents>
Stream of TCP events.
no setter

Methods

close() Future<void>
Closes all active connections.
init(InternetAddress address, int port) Future<void>
Initializes the TCP socket server.
listen(Future<ResponsePacket?> onData(MessagePacket data)) Future<void>
Listens for incoming connections and data.
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