GeneralSocketData class
Constructors
- GeneralSocketData({required int port, required String socket_id, required String multiCastGroup})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- is_initialized ↔ bool
-
getter/setter pair
- multiCastGroup → String
-
final
- port → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socket_id → String
-
final
Methods
-
close(
) → bool -
ensureInitiaLized(
{required RawDatagramSocket socket, required NetworkInterface networkInterface, required FutureOr< void> onMessage(GeneralSocketMessageData generalSocketMessageData), required void onDone()}) → Future<void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendJson(
{required Map value}) → int -
sendRaw(
{required List< int> buffer}) → int -
sendText(
{required String value}) → int -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited