SocketControlMessage class - dart:io library (original) (raw)
Control message part of the SocketMessage received by a call toRawSocket.readMessage.
Control messages could carry different information includingResourceHandle. 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
Actual bytes that were passed as part of the control message by the underlying platform.
no setter
The hash code for this object.
no setterinherited
A platform specific value used to determine the kind of control message.
no setter
A representation of the runtime type of the object.
no setterinherited
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
A string representation of this object.
inherited
Operators
operator ==(Object other)→ bool
The equality operator.
inherited