pj_stun_msg_hdr class final
- Inheritance
- Implemented types
- Available extensions
- Annotations
-
- @Packed(1)
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- length ↔ int
-
The message length is the size, in bytes, of the message not
including the 20 byte STUN header.
getter/setter pair
- magic ↔ int
-
The magic cookie is a fixed value, 0x2112A442 (PJ_STUN_MAGIC constant).
In the previous version of this specification
15this field was part of the transaction ID.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tsx_id
↔ Array<
pj_uint8_t> -
The transaction ID is a 96 bit identifier. STUN transactions are
identified by their unique 96-bit transaction ID. For request/
response transactions, the transaction ID is chosen by the STUN
client and MUST be unique for each new STUN transaction generated by
that STUN client. The transaction ID MUST be uniformly and randomly
distributed between 0 and 2**96 - 1.
getter/setter pair
- type ↔ int
-
STUN message type, which the first two bits must be zeroes.
getter/setter pair
Methods
-
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