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

This class is intended to encapsulate what version/s of various drafts are supported by the stack. More...

#include <InteropHelper.hxx>

Public Types

enum  ClientNATDetectionMode { ClientNATDetectionDisabled , ClientNATDetectionEnabled , ClientNATDetectionPrivateToPublicOnly }
 

Static Public Member Functions

static bool getRportEnabled ()
 
static void setRportEnabled (bool enable)
 
static int getOutboundVersion ()
 
static void setOutboundVersion (int version)
 
static bool getOutboundSupported ()
 
static void setOutboundSupported (bool supported)
 
static unsigned int getFlowTimerSeconds ()
 
static void setFlowTimerSeconds (unsigned int seconds)
 
static unsigned int getFlowTimerGracePeriodSeconds ()
 
static void setFlowTimerGracePeriodSeconds (unsigned int seconds)
 
static bool getRRTokenHackEnabled ()
 
static void setRRTokenHackEnabled (bool enabled)
 
static bool getAllowInboundFlowTokensForNonDirectClients ()
 
static void setAllowInboundFlowTokensForNonDirectClients (bool enabled)
 
static InteropHelper::ClientNATDetectionMode getClientNATDetectionMode ()
 
static void setClientNATDetectionMode (InteropHelper::ClientNATDetectionMode mode)
 
static bool getAssumeFirstHopSupportsOutboundEnabled ()
 
static void setAssumeFirstHopSupportsOutboundEnabled (bool enabled)
 
static bool getAssumeFirstHopSupportsFlowTokensEnabled ()
 
static void setAssumeFirstHopSupportsFlowTokensEnabled (bool enabled)
 

Detailed Description

This class is intended to encapsulate what version/s of various drafts are supported by the stack.

This also allows for configurable version support at runtime.

Definition at line 12 of file InteropHelper.hxx.

Member Enumeration Documentation

◆ ClientNATDetectionMode

Enumerator
ClientNATDetectionDisabled 
ClientNATDetectionEnabled 
ClientNATDetectionPrivateToPublicOnly 

Definition at line 57 of file InteropHelper.hxx.

Member Function Documentation

◆ getAllowInboundFlowTokensForNonDirectClients()

static bool resip::InteropHelper::getAllowInboundFlowTokensForNonDirectClients ( )
inlinestatic

Definition at line 54 of file InteropHelper.hxx.

◆ getAssumeFirstHopSupportsFlowTokensEnabled()

static bool resip::InteropHelper::getAssumeFirstHopSupportsFlowTokensEnabled ( )
inlinestatic

Definition at line 94 of file InteropHelper.hxx.

◆ getAssumeFirstHopSupportsOutboundEnabled()

static bool resip::InteropHelper::getAssumeFirstHopSupportsOutboundEnabled ( )
inlinestatic

Definition at line 85 of file InteropHelper.hxx.

◆ getClientNATDetectionMode()

static InteropHelper::ClientNATDetectionMode resip::InteropHelper::getClientNATDetectionMode ( )
inlinestatic

Definition at line 71 of file InteropHelper.hxx.

◆ getFlowTimerGracePeriodSeconds()

static unsigned int resip::InteropHelper::getFlowTimerGracePeriodSeconds ( )
inlinestatic

Definition at line 33 of file InteropHelper.hxx.

◆ getFlowTimerSeconds()

static unsigned int resip::InteropHelper::getFlowTimerSeconds ( )
inlinestatic

Definition at line 25 of file InteropHelper.hxx.

◆ getOutboundSupported()

static bool resip::InteropHelper::getOutboundSupported ( )
inlinestatic

Definition at line 20 of file InteropHelper.hxx.

◆ getOutboundVersion()

static int resip::InteropHelper::getOutboundVersion ( )
inlinestatic

Definition at line 18 of file InteropHelper.hxx.

◆ getRportEnabled()

static bool resip::InteropHelper::getRportEnabled ( )
inlinestatic

Definition at line 15 of file InteropHelper.hxx.

◆ getRRTokenHackEnabled()

static bool resip::InteropHelper::getRRTokenHackEnabled ( )
inlinestatic

Definition at line 43 of file InteropHelper.hxx.

◆ setAllowInboundFlowTokensForNonDirectClients()

static void resip::InteropHelper::setAllowInboundFlowTokensForNonDirectClients ( bool  enabled)
inlinestatic

Definition at line 55 of file InteropHelper.hxx.

◆ setAssumeFirstHopSupportsFlowTokensEnabled()

static void resip::InteropHelper::setAssumeFirstHopSupportsFlowTokensEnabled ( bool  enabled)
inlinestatic

Definition at line 95 of file InteropHelper.hxx.

◆ setAssumeFirstHopSupportsOutboundEnabled()

static void resip::InteropHelper::setAssumeFirstHopSupportsOutboundEnabled ( bool  enabled)
inlinestatic

Definition at line 86 of file InteropHelper.hxx.

◆ setClientNATDetectionMode()

static void resip::InteropHelper::setClientNATDetectionMode ( InteropHelper::ClientNATDetectionMode  mode)
inlinestatic

Definition at line 72 of file InteropHelper.hxx.

◆ setFlowTimerGracePeriodSeconds()

static void resip::InteropHelper::setFlowTimerGracePeriodSeconds ( unsigned int  seconds)
inlinestatic

Definition at line 34 of file InteropHelper.hxx.

◆ setFlowTimerSeconds()

static void resip::InteropHelper::setFlowTimerSeconds ( unsigned int  seconds)
inlinestatic

Definition at line 26 of file InteropHelper.hxx.

◆ setOutboundSupported()

static void resip::InteropHelper::setOutboundSupported ( bool  supported)
inlinestatic

Definition at line 21 of file InteropHelper.hxx.

◆ setOutboundVersion()

static void resip::InteropHelper::setOutboundVersion ( int  version)
inlinestatic

Definition at line 19 of file InteropHelper.hxx.

◆ setRportEnabled()

static void resip::InteropHelper::setRportEnabled ( bool  enable)
inlinestatic

Definition at line 16 of file InteropHelper.hxx.

◆ setRRTokenHackEnabled()

static void resip::InteropHelper::setRRTokenHackEnabled ( bool  enabled)
inlinestatic

Definition at line 44 of file InteropHelper.hxx.


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