pjsip_tpfactory class final
A transport factory is normally used for connection oriented transports (such as TCP or TLS) to create instances of transports. It registers a new transport type to the transport manager, and the transport manager would ask the factory to create a transport instance when it received command from application to send a SIP message using the specified transport type.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
- addr_name ↔ pjsip_host_port
-
< Published name.
getter/setter pair
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter -
create_transport
↔ Pointer<
NativeFunction< pj_status_t Function(Pointer< >pjsip_tpfactory> factory1, Pointer<pjsip_tpmgr> mgr, Pointer<pjsip_endpoint> endpt, Pointer<pj_sockaddr> rem_addr, Int addr_len, Pointer<Pointer< transport)>pjsip_transport> > -
Create new outbound connection suitable for sending SIP message
to specified remote address.
Note that the factory is responsible for both creating the
transport and registering it to the transport manager.
getter/setter pair
-
create_transport2
↔ Pointer<
NativeFunction< pj_status_t Function(Pointer< >pjsip_tpfactory> factory1, Pointer<pjsip_tpmgr> mgr, Pointer<pjsip_endpoint> endpt, Pointer<pj_sockaddr> rem_addr, Int addr_len, Pointer<pjsip_tx_data> tdata, Pointer<Pointer< transport)>pjsip_transport> > -
Create new outbound connection suitable for sending SIP message
to specified remote address by also considering outgoing SIP
message data.
Note that the factory is responsible for both creating the
transport and registering it to the transport manager.
getter/setter pair
-
destroy
↔ Pointer<
NativeFunction< pj_status_t Function(Pointer< >pjsip_tpfactory> factory1)> -
Destroy the listener.
getter/setter pair
- flag ↔ int
-
< Transport flag.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
info
↔ Pointer<
Char> -
< Transport info/description.
getter/setter pair
- local_addr ↔ pj_sockaddr
-
< Bound address.
getter/setter pair
-
lock
↔ Pointer<
pj_lock_t> -
< Lock object.
getter/setter pair
-
next
↔ Pointer<
pjsip_tpfactory> -
getter/setter pair
-
obj_name
↔ Array<
Char> -
< Name.
getter/setter pair
-
pool
↔ Pointer<
pj_pool_t> -
< Owned memory pool.
getter/setter pair
-
prev
↔ Pointer<
pjsip_tpfactory> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ int
-
< Transport type.
getter/setter pair
-
type_name
↔ Pointer<
Char> -
< Type string 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