BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

#include <siptypes.hpp>

Public Member Functions

 SipTxData ()
 
void fromPj (pjsip_tx_data &tdata)
 

Data Fields

string info
 
string wholeMsg
 
SocketAddress dstAddress
 
void * pjTxData
 

Detailed Description

This structure describes an outgoing SIP message. It corresponds to the pjsip_tx_data structure in PJSIP library.

Constructor & Destructor Documentation

◆ SipTxData()

pj::SipTxData::SipTxData ( )

Default constructor.

Member Function Documentation

◆ fromPj()

void pj::SipTxData::fromPj ( pjsip_tx_data tdata)

Construct from PJSIP's pjsip_tx_data

Field Documentation

◆ info

string pj::SipTxData::info

A short info string describing the request, which normally contains the request method and its CSeq.

◆ wholeMsg

string pj::SipTxData::wholeMsg

The whole message data as a string, containing both the header section and message body section.

◆ dstAddress

SocketAddress pj::SipTxData::dstAddress

Destination address of the message.

◆ pjTxData

void* pj::SipTxData::pjTxData

Pointer to original pjsip_tx_data. Only valid when the struct is constructed from PJSIP's pjsip_tx_data.


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.