TcpSocketClientData class abstract

GeneralLib

Implementers

Constructors

TcpSocketClientData({required dynamic host, required int port, dynamic sourceAddress, int sourcePort = 0, Duration? timeout, Map? connectData, Duration? pingInterval})
GeneralLib

Properties

connect_data ↔ Map
GeneralLib
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
host ↔ dynamic
GeneralLib
getter/setter pair
isConnect ↔ bool
GeneralLib
getter/setter pair
ping_interval ↔ Duration
GeneralLib
getter/setter pair
port ↔ int
GeneralLib
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
socket ↔ Socket
GeneralLib
getter/setter pair
sourceAddress ↔ dynamic
GeneralLib
getter/setter pair
sourcePort ↔ int
GeneralLib
getter/setter pair
timeout ↔ Duration?
GeneralLib
getter/setter pair

Methods

connect({required FutureOr<void> onSocketData(Uint8List data), required FutureOr<void> onSocketConnection(SocketConnection socketConnection), Duration delayDuration = const Duration(milliseconds: 500)}) → Future<void>
GeneralLib
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send({required List<int> value, Duration durationTimeOut = const Duration(minutes: 1), Duration durationDelay = const Duration(milliseconds: 1)}) → Future<void>
GeneralLib
sendSync({required List<int> value, Duration durationTimeOut = const Duration(minutes: 1)}) → void
GeneralLib
toString() → String
A string representation of this object.
inherited

Operators

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