SIP Witch 1.9.15
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

 
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:

Generated on Dec 21, 2017 for sipwitch-1.9.15 (*.h and *.cpp), libosip2-5.0.0 (*.h) and libeXosip2-4.0.0 (*.h), by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /