reSIProcate/rutil  9694
Namespaces | Enumerations | Functions
TransportType.hxx File Reference
#include <ostream>
#include <string>
#include "rutil/Data.hxx"
Include dependency graph for TransportType.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  resip
 

dcm! -- add UnusedChecking(_enum) below;


Enumerations

enum  resip::TransportType {
  resip::UNKNOWN_TRANSPORT = 0, resip::TLS, resip::TCP, resip::UDP,
  resip::SCTP, resip::DCCP, resip::DTLS, resip::MAX_TRANSPORT
}
 An enumeration of transport protocols. More...
enum  resip::IpVersion { resip::V4, resip::V6 }
 An enumeration of IP versions. More...
enum  resip::StunSetting { resip::StunDisabled, resip::StunEnabled }

Functions

TransportType resip::getTransportTypeFromName (const std::string &transportName)
 Function which translates a transport name to its corrisponding integer enum value.
TransportType resip::toTransportType (const resip::Data &transportName)
std::string resip::getTransportNameFromType (const TransportType typeEnum)
 Function which translates a transport enum value to its corrisponding name.
std::string resip::getTransportNameFromTypeLower (const TransportType typeEnum)
const resip::Dataresip::toData (const TransportType typeEnum)
const resip::Dataresip::toDataLower (const TransportType typeEnum)
bool resip::isReliable (TransportType type)
 Returns true if passed in transport type is a reliable transport protocol.