RawSocketEvent class
Events for the RawSocket.
These event objects are used by the Stream behavior of RawSocket (for example RawSocket.listen, RawSocket.forEach) when the socket's state change.
Properties
- hashCode → int read-only, inherited
- The hash code for this object. [...]
- runtimeType → Type read-only, inherited
- A representation of the runtime type of the object.
Methods
- noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed. [...]
- toString(
) → String override - A string representation of this object. [...]
Operators
- operator ==(
Object other) → bool inherited - The equality operator. [...]
Constants
- CLOSED → const RawSocketEvent @Deprecated("Use closed instead")
-
closed
- closed → const RawSocketEvent
- An event indicates the socket is closed.
const RawSocketEvent._(3)
- READ → const RawSocketEvent @Deprecated("Use read instead")
-
read
- read → const RawSocketEvent
- An event indicates the socket is ready to be read.
const RawSocketEvent._(0)
- READ_CLOSED → const RawSocketEvent @Deprecated("Use readClosed instead")
-
readClosed
- readClosed → const RawSocketEvent
- An event indicates the reading from the socket is closed
const RawSocketEvent._(2)
- WRITE → const RawSocketEvent @Deprecated("Use write instead")
-
write
- write → const RawSocketEvent
- An event indicates the socket is ready to write.
const RawSocketEvent._(1)
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/RawSocketEvent-class.html