FlatBuffersSessionProfile class final
Immutable capability gate for one FlatBuffers WAMP connection.
Preparing a send does not commit its transition: retain the returned profile only after the transport accepts the frame. Incoming frames must pass this gate before authentication callbacks or application delivery. This is a capability check, separate from peer authentication and authorization.
Constructors
- FlatBuffersSessionProfile.client()
-
const
- FlatBuffersSessionProfile.router()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEstablished → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acceptIncoming(
AbstractMessage message) → FlatBuffersSessionProfile -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareOutgoing(
AbstractMessage message, {bool advertise = true}) → FlatBuffersSessionProfile -
Validate and optionally advertise in a bootstrap message. Pre-encoded
frames must set
advertiseto false; their bytes already need the offer or acknowledgement and cannot be modified by this gate. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited