pjsip_transport class final

This structure represent the "public" interface of a SIP transport. Applications normally extend this structure to include transport specific members.

Inheritance
Implemented types
Available extensions

Constructors

pjsip_transport.new()

Properties

addr_len int
< Length of addresses.
getter/setter pair
address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
data Pointer<Void>
< Internal transport data.
getter/setter pair
destroy Pointer<NativeFunction<pj_status_t Function(Pointer<pjsip_transport> transport)>>
Forcefully destroy this transport regardless whether there are objects that currently use this transport. This function should only be called by transport manager or other internal objects (such as the transport itself) who know what they're doing. Application should use #pjsip_transport_shutdown() instead.
getter/setter pair
dir int
< Connection direction.
getter/setter pair
do_shutdown Pointer<NativeFunction<pj_status_t Function(Pointer<pjsip_transport> transport)>>
Instruct the transport to initiate graceful shutdown procedure. After all objects release their reference to this transport, the transport will be deleted.
getter/setter pair
endpt Pointer<pjsip_endpoint>
< Endpoint instance.
getter/setter pair
factory1 Pointer<pjsip_tpfactory>
< Factory instance. Note: it may be invalid/shutdown.
getter/setter pair
flag int
< #pjsip_transport_flags_e
getter/setter pair
grp_lock Pointer<pj_grp_lock_t>
< Group lock for sync with ioqueue and timer.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idle_timer pj_timer_entry
< Timer when ref cnt is zero.
getter/setter pair
info Pointer<Char>
< Transport info/description.
getter/setter pair
initial_timeout int
< Initial timeout interval to be applied to incoming TCP/TLS transports when no valid data received after a successful connection.
getter/setter pair
is_destroying int
< Destroy in progress?
getter/setter pair
is_shutdown int
< Being shutdown?
getter/setter pair
key pjsip_transport_key
Key for indexing this transport in hash table.
getter/setter pair
last_recv_len int
< Last received data length.
getter/setter pair
last_recv_ts pj_timestamp
< Last time receiving data.
getter/setter pair
local_addr pj_sockaddr
< Bound address.
getter/setter pair
local_name pjsip_host_port
< Published name (eg. STUN).
getter/setter pair
lock Pointer<pj_lock_t>
< Lock object.
getter/setter pair
obj_name Array<Char>
< Name.
getter/setter pair
pool Pointer<pj_pool_t>
< Pool used by transport.
getter/setter pair
ref_cnt Pointer<pj_atomic_t>
< Reference counter.
getter/setter pair
remote_name pjsip_host_port
< Remote address name.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
send_msg Pointer<NativeFunction<pj_status_t Function(Pointer<pjsip_transport> transport, Pointer<pjsip_tx_data> tdata, Pointer<pj_sockaddr_t> rem_addr, Int addr_len, Pointer<Void> token, pjsip_transport_callback callback)>>
Function to be called by transport manager to send SIP message.
getter/setter pair
tpmgr Pointer<pjsip_tpmgr>
< Transport manager.
getter/setter pair
tracing int
< Tracing enabled?
getter/setter pair
type_name Pointer<Char>
< Type name.
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