NetworkService class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connectToTcpServer(
String host, int port) → Future< void> -
createTcpServer(
String host, int port) → Future< void> -
createUdpSocket(
String host, int port) → Future< void> -
dispose(
) → void -
handleClient(
Socket client) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendTcpMessage(
String message) → void -
sendUdpMessage(
String message, InternetAddress address, int port) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited