reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::RportParameter Class Reference

Represents the "response-port" element of the SIP grammar (as extended in RFC 3581). More...

#include <RportParameter.hxx>

Inheritance diagram for resip::RportParameter:
[legend]

Public Types

typedef RportParameter Type
 

Public Member Functions

 RportParameter (ParameterTypes::Type, ParseBuffer &pb, const std::bitset< 256 > &terminators)
 
 RportParameter (ParameterTypes::Type type, int value)
 
 RportParameter (ParameterTypes::Type type)
 
int & port ()
 
int port () const
 
bool hasValue () const
 
virtual EncodeStream & encode (EncodeStream &stream) const
 
virtual Parameter * clone () const
 
Type & value ()
 
- Public Member Functions inherited from resip::Parameter
 Parameter (ParameterTypes::Type type)
 
virtual ~Parameter ()
 
ParameterTypes::Type getType () const
 
virtual const Data & getName () const
 
virtual bool isQuoted () const
 
virtual void setQuoted (bool)
 

Static Public Member Functions

static Parameter * decode (ParameterTypes::Type type, ParseBuffer &pb, const std::bitset< 256 > &terminators, PoolBase *pool)
 

Additional Inherited Members

- Protected Member Functions inherited from resip::Parameter
 Parameter (const Parameter &other)
 
Parameter & operator= (const Parameter &other)
 

Detailed Description

Represents the "response-port" element of the SIP grammar (as extended in RFC 3581).

Definition at line 21 of file RportParameter.hxx.

Member Typedef Documentation

◆ Type

Definition at line 24 of file RportParameter.hxx.

Constructor & Destructor Documentation

◆ RportParameter() [1/3]

RportParameter::RportParameter ( ParameterTypes::Type  type,
ParseBuffer &  pb,
const std::bitset< 256 > &  terminators 
)

Definition at line 17 of file RportParameter.cxx.

◆ RportParameter() [2/3]

RportParameter::RportParameter ( ParameterTypes::Type  type,
int  value 
)

Definition at line 45 of file RportParameter.cxx.

◆ RportParameter() [3/3]

RportParameter::RportParameter ( ParameterTypes::Type  type)
explicit

Definition at line 52 of file RportParameter.cxx.

Member Function Documentation

◆ clone()

Parameter * RportParameter::clone ( ) const
virtual

Implements resip::Parameter.

Definition at line 60 of file RportParameter.cxx.

◆ decode()

static Parameter * resip::RportParameter::decode ( ParameterTypes::Type  type,
ParseBuffer &  pb,
const std::bitset< 256 > &  terminators,
PoolBase *  pool 
)
inlinestatic

Definition at line 30 of file RportParameter.hxx.

◆ encode()

EncodeStream & RportParameter::encode ( EncodeStream &  stream) const
virtual

Implements resip::Parameter.

Definition at line 66 of file RportParameter.cxx.

◆ hasValue()

bool resip::RportParameter::hasValue ( ) const
inline

Definition at line 41 of file RportParameter.hxx.

◆ port() [1/2]

int & resip::RportParameter::port ( )
inline

Definition at line 38 of file RportParameter.hxx.

◆ port() [2/2]

int resip::RportParameter::port ( ) const
inline

Definition at line 39 of file RportParameter.hxx.

◆ value()

Type & resip::RportParameter::value ( )
inline

Definition at line 47 of file RportParameter.hxx.


The documentation for this class was generated from the following files: