SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Public Member Functions | Protected Attributes
sipwitch::srv Class Reference

#include <uri.h>

Inheritance diagram for sipwitch::srv:
Inheritance graph
[legend]
Collaboration diagram for sipwitch::srv:
Collaboration graph
[legend]

Data Structures

class  address
 

Public Member Functions

 srv (const char *uri)
 
 srv ()
 
 ~srv ()
 
void set (const char *uri)
 
void clear (void)
 
struct sockaddr * operator* () const
 
 operator bool () const
 
bool operator! () const
 
struct sockaddr * next (void)
 
uint16_t after (uint16_t priority=0)
 
uint32_t total (uint16_t priority)
 
struct sockaddr * find (uint16_t priority, uint32_t weight)
 
voip::context_t route (const char *uri, char *buf, size_t size)
 

Protected Attributes

addresssrvlist
 
struct sockaddr * entry
 
uint16_t pri
 
unsigned count
 

Detailed Description

Definition at line 69 of file uri.h.

Constructor & Destructor Documentation

sipwitch::srv::srv ( const char *  uri)

Definition at line 53 of file srv.cpp.

sipwitch::srv::srv ( )

Definition at line 65 of file srv.cpp.

sipwitch::srv::~srv ( )

Definition at line 329 of file srv.cpp.

Member Function Documentation

uint16_t sipwitch::srv::after ( uint16_t  priority = 0)

Definition at line 75 of file srv.cpp.

void sipwitch::srv::clear ( void  )

Definition at line 334 of file srv.cpp.

struct sockaddr * sipwitch::srv::find ( uint16_t  priority,
uint32_t  weight 
)

Definition at line 103 of file srv.cpp.

struct sockaddr * sipwitch::srv::next ( void  )

Definition at line 350 of file srv.cpp.

sipwitch::srv::operator bool ( ) const
inline

Definition at line 97 of file uri.h.

bool sipwitch::srv::operator! ( ) const
inline

Definition at line 100 of file uri.h.

struct sockaddr* sipwitch::srv::operator* ( ) const
inline

Definition at line 94 of file uri.h.

voip::context_t sipwitch::srv::route ( const char *  uri,
char *  buf,
size_t  size 
)

Definition at line 375 of file srv.cpp.

void sipwitch::srv::set ( const char *  uri)

Definition at line 120 of file srv.cpp.

uint32_t sipwitch::srv::total ( uint16_t  priority)

Definition at line 89 of file srv.cpp.

Field Documentation

unsigned sipwitch::srv::count
protected

Definition at line 83 of file uri.h.

struct sockaddr* sipwitch::srv::entry
protected

Definition at line 81 of file uri.h.

uint16_t sipwitch::srv::pri
protected

Definition at line 82 of file uri.h.

address* sipwitch::srv::srvlist
protected

Definition at line 80 of file uri.h.


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