WASIPreview3UdpBindingLifecycle class abstract interface

Optional lifecycle state exposed by UDP bindings that can terminate without a guest-initiated I/O operation.

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
isClosed → bool
Whether the underlying endpoint has terminated permanently.
no setter
localAddress → WASIPreview3IpSocketAddress
Bound local address.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the binding.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
receive() → Future<WASIPreview3SocketResult<WASIPreview3IncomingDatagram>>
Receives one datagram.
inherited
send(Uint8List data, WASIPreview3IpSocketAddress remoteAddress) → Future<WASIPreview3SocketResult<void>>
Sends one datagram.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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