LLSrvRecord Class Reference

SRV RR. More...

#include <llares.h>

Inheritance diagram for LLSrvRecord:

Inheritance graph
[legend]
Collaboration diagram for LLSrvRecord:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLSrvRecord (const std::string &name, unsigned ttl)
U16 priority () const
 Service priority.
U16 weight () const
 Service weight.
U16 port () const
 Port number of service.

Protected Member Functions

int parse (const char *buf, size_t len, const char *pos, size_t rrlen)

Protected Attributes

U16 mPriority
U16 mWeight
U16 mPort

Classes

struct  ComparePriorityLowest
 Functor for sorting SRV records by priority. More...


Detailed Description

SRV RR.

Definition at line 222 of file llares.h.


Constructor & Destructor Documentation

LLSrvRecord::LLSrvRecord ( const std::string &  name,
unsigned  ttl 
)

Definition at line 696 of file llares.cpp.


Member Function Documentation

int LLSrvRecord::parse ( const char *  buf,
size_t  len,
const char *  pos,
size_t  rrlen 
) [protected, virtual]

Reimplemented from LLHostRecord.

Definition at line 701 of file llares.cpp.

References mPort, mPriority, mWeight, and LLHostRecord::parse().

Here is the call graph for this function:

U16 LLSrvRecord::priority (  )  const [inline]

Service priority.

Definition at line 237 of file llares.h.

References mPriority.

Referenced by LLAres::SrvResponder::srvResult().

Here is the caller graph for this function:

U16 LLSrvRecord::weight (  )  const [inline]

Service weight.

Definition at line 242 of file llares.h.

References mWeight.

Referenced by LLAres::SrvResponder::srvResult().

Here is the caller graph for this function:

U16 LLSrvRecord::port (  )  const [inline]

Port number of service.

Definition at line 247 of file llares.h.

References mPort.

Referenced by LLAres::UriRewriteResponder::queryResult(), and LLAres::SrvResponder::srvResult().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 225 of file llares.h.

Referenced by LLSrvRecord::ComparePriorityLowest::operator()(), parse(), and priority().

Definition at line 226 of file llares.h.

Referenced by parse(), and weight().

U16 LLSrvRecord::mPort [protected]

Definition at line 227 of file llares.h.

Referenced by parse(), and port().


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

Generated on Fri May 16 09:06:52 2008 for SecondLife by  doxygen 1.5.5