BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

#include <siptypes.hpp>

Public Member Functions

 TransportInfo ()
 
void fromPj (const pjsua_transport_info &info)
 

Data Fields

TransportId id
 
pjsip_transport_type_e type
 
string typeName
 
string info
 
unsigned flags
 
SocketAddress localAddress
 
SocketAddress localName
 
unsigned usageCount
 

Detailed Description

This structure describes transport information returned by Endpoint::transportGetInfo() function.

Constructor & Destructor Documentation

◆ TransportInfo()

pj::TransportInfo::TransportInfo ( )

Default constructor.

Member Function Documentation

◆ fromPj()

void pj::TransportInfo::fromPj ( const pjsua_transport_info info)

Construct from pjsua_transport_info

Field Documentation

◆ id

TransportId pj::TransportInfo::id

PJSUA transport identification.

◆ type

pjsip_transport_type_e pj::TransportInfo::type

Transport type.

◆ typeName

string pj::TransportInfo::typeName

Transport type name.

◆ info

string pj::TransportInfo::info

Transport string info/description.

◆ flags

unsigned pj::TransportInfo::flags

Transport flags (see pjsip_transport_flags_e).

◆ localAddress

SocketAddress pj::TransportInfo::localAddress

Local/bound address.

◆ localName

SocketAddress pj::TransportInfo::localName

Published address (or transport address name).

◆ usageCount

unsigned pj::TransportInfo::usageCount

Current number of objects currently referencing this transport.


The documentation for this struct was generated from the following file:
  • siptypes.hpp

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.