SocketControlMessage class abstract interface

Control message part of the SocketMessage received by a call to RawSocket.readMessage.

Control messages could carry different information including ResourceHandle. If ResourceHandles are available as part of this message, they can be extracted via extractHandles.

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 the underlying 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(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited