pjsip_response_addr class final

This structure describes destination information to send response. It is initialized by calling #pjsip_get_response_addr().

If the response message should be sent using transport from which the request was received, then transport, addr, and addr_len fields are initialized.

The dst_host field is also initialized. It should be used when server fails to send the response using the transport from which the request was received, or when the transport is NULL, which means server must send the response to this address (this situation occurs when maddr parameter is set, or when rport param is not set in the request).

Inheritance
Implemented types
Available extensions

Constructors

pjsip_response_addr()

Properties

addr pj_sockaddr
< Immediate address to send to.
getter/setter pair
addr_len int
< Address length.
getter/setter pair
address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
dst_host pjsip_host_info
< Destination host to contact.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transport Pointer<pjsip_transport>
< Immediate transport to be used.
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