Control message part of theSocketMessage received by a call toRawSocket.readMessage.
Control messages could carry different information includingResourceHandle. IfResourceHandles are available as part of this message,they can be extracted viaextractHandles.
Constructors
- SocketControlMessage.fromHandles(List<
ResourceHandle> handles) - Creates a control message containing the provided
handles.factory
Properties
- data→Uint8List
- Actual bytes that were passed as part of the control message by theunderlying platform.no setter
- hashCode→int
- The hash code for this object.no setterinherited
- level→int
- A platform specific value used to determine the kind of control message.no setter
- runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
- type→int
- A platform specific value used to determine the kind of control message.no setter
Methods
- extractHandles(
)→List< ResourceHandle> - Extracts the list of handles embedded in this message.
- noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- toString(
)→String - A string representation of this object.inherited
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited