SocketControlMessage class Null safety

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

Control messages could carry different information including ResourceHandle. If ResourceHandles are availabe 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.
read-only
hashCode int
The hash code for this object.
read-only, inherited
level int
A platform specific value used to determine the kind of control message.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type int
A platform specific value used to determine the kind of control message.
read-only

Methods

extractHandles() List<ResourceHandle>
Extracts the list of handles embedded in this message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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