TcpSocketClient class
Constructors
Properties
- connect_data ↔ Map
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ dynamic
-
getter/setter pair
- isConnect ↔ bool
-
getter/setter pair
- ping_interval ↔ Duration
-
getter/setter pair
- port ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socket ↔ Socket
-
getter/setter pair
- sourceAddress ↔ dynamic
-
getter/setter pair
- sourcePort ↔ int
-
getter/setter pair
- timeout ↔ Duration?
-
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> -
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> -
sendSync(
{required List< int> value, Duration durationTimeOut = const Duration(minutes: 1)}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited