protlib::udsaddress Class Reference

Unix Domain Socket Address. More...

#include <source/ariba/utility/transport/tcpip/protlib/address.h>

Inherits protlib::address.

Collaboration diagram for protlib::udsaddress:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual udsaddressnew_instance () const
virtual udsaddresscopy () const
virtual bool operator== (const address &ie) const
 udsaddress ()
 constructor
 udsaddress (const udsaddress &h)
 copy constructor
udsaddressoperator= (const udsaddress &uds)
 assignment
 udsaddress (string sockstring)
 constructor from string
 udsaddress (int num)
 constructor from int
 udsaddress (string sockstring, int num)
 constructor from both
virtual ~udsaddress ()
 destructor
virtual size_t get_hash () const
 hash function
void set_udssocket (string socket)
const string get_udssocket () const
void set_socknum (int socket)
const int get_socknum () const

Private Attributes

string uds_socket
 uds socket string
int socknum
 socket number


Detailed Description

Unix Domain Socket Address.

This class can hold a Unix Domain Socket Address OR a Socket Number.

Definition at line 684 of file address.h.


Constructor & Destructor Documentation

protlib::udsaddress::udsaddress (  )  [inline]

constructor

Definition at line 692 of file address.h.

References socknum, and uds_socket.

Referenced by copy(), and new_instance().

protlib::udsaddress::udsaddress ( const udsaddress h  )  [inline]

copy constructor

Definition at line 694 of file address.h.

References socknum, and uds_socket.

protlib::udsaddress::udsaddress ( string  sockstring  )  [inline]

constructor from string

Definition at line 702 of file address.h.

References socknum, and uds_socket.

protlib::udsaddress::udsaddress ( int  num  )  [inline]

constructor from int

Definition at line 704 of file address.h.

References socknum, and uds_socket.

protlib::udsaddress::udsaddress ( string  sockstring,
int  num 
) [inline]

constructor from both

Definition at line 706 of file address.h.

References socknum, and uds_socket.

virtual protlib::udsaddress::~udsaddress (  )  [inline, virtual]

destructor

Definition at line 708 of file address.h.


Member Function Documentation

size_t protlib::udsaddress::get_hash (  )  const [inline, virtual]

hash function

Definition at line 1392 of file address.h.

References socknum, and uds_socket.

Referenced by __gnu_cxx::hash< protlib::udsaddress >::operator()().

const int protlib::udsaddress::get_socknum (  )  const [inline]

Get Socket Number

Definition at line 743 of file address.h.

References socknum.

Referenced by protlib::operator<<().

const string protlib::udsaddress::get_udssocket (  )  const [inline]

Get UDS socket path.

Definition at line 730 of file address.h.

References uds_socket.

Referenced by protlib::operator<<().

udsaddress& protlib::udsaddress::operator= ( const udsaddress uds  )  [inline]

assignment

Definition at line 696 of file address.h.

References socknum, and uds_socket.

void protlib::udsaddress::set_socknum ( int  socket  )  [inline]

Set Socket Number

Definition at line 737 of file address.h.

References socknum.

void protlib::udsaddress::set_udssocket ( string  socket  )  [inline]

Set UDS socket path.

Definition at line 723 of file address.h.

References uds_socket.


Member Data Documentation

socket number

Definition at line 717 of file address.h.

Referenced by get_hash(), get_socknum(), operator=(), operator==(), set_socknum(), and udsaddress().

uds socket string

Definition at line 715 of file address.h.

Referenced by get_hash(), get_udssocket(), operator=(), operator==(), set_udssocket(), and udsaddress().


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

Generated on Fri Aug 14 23:39:46 2009 for Ariba by  doxygen 1.5.8