pj_stun_resolve_result class final

This structure is used to represent the result of the STUN server resolution and testing, the #pjsua_resolve_stun_servers() function. This structure will be passed in #pj_stun_resolve_cb callback.

Inheritance
Implemented types
Available extensions

Constructors

pj_stun_resolve_result()

Properties

addr pj_sockaddr
The server IP address. This will only contain value if status is successful.
getter/setter pair
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
index int
The index of the usable STUN server.
getter/setter pair
name pj_str_t
The server name that yields successful result. This will only contain value if status is successful.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
This will contain PJ_SUCCESS if at least one usable STUN server is found, otherwise it will contain the last error code during the operation.
getter/setter pair
token Pointer<Void>
Arbitrary data that was passed to #pjsua_resolve_stun_servers() function.
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