RegisteredUser Class Reference

List of all members.


Detailed Description

Storage class for a registered user.

Author:
Enrico Hartung <enrico@iptel.org>

Monica Sarbu <monica@iptel.org>

License:
GPL

Definition at line 27 of file RegisteredUser.py.


Public Member Functions

def __init__
def set
 Generic setter for the protected attributes of an object of this class.
def get
 Generic getter for the protected attributes of an object of this class.
def add
 Generic adder for the protected attributes of an object of this class.

Private Attributes

 _port
 _host
 _contact
 _service_route
 _reg_uris
 _target

Static Private Attributes

int _port = 0
list _reg_uris = []
string _service_route = ""
string _contact = ""
string _host = "localhost"
string _target = ""

Member Function Documentation

def __init__ (   self  ) 

Definition at line 47 of file RegisteredUser.py.

def set (   self,
  name,
  value 
)

Generic setter for the protected attributes of an object of this class.

Parameters:
name name of attribute without '_' (string)
value value the attribute should be set to (void)

Definition at line 63 of file RegisteredUser.py.

def get (   self,
  name 
)

Generic getter for the protected attributes of an object of this class.

Parameters:
name name of attribute without '_' (string)
Returns:
value the attribute is set to (void)

Definition at line 78 of file RegisteredUser.py.

def add (   self,
  name,
  value 
)

Generic adder for the protected attributes of an object of this class.

Parameters:
name name of attribute without '_' (string)
value values that should be added (list)

Definition at line 89 of file RegisteredUser.py.


Member Data Documentation

int _port = 0 [static, private]

Definition at line 30 of file RegisteredUser.py.

list _reg_uris = [] [static, private]

Definition at line 33 of file RegisteredUser.py.

string _service_route = "" [static, private]

Definition at line 36 of file RegisteredUser.py.

string _contact = "" [static, private]

Definition at line 39 of file RegisteredUser.py.

string _host = "localhost" [static, private]

Definition at line 42 of file RegisteredUser.py.

string _target = "" [static, private]

Definition at line 45 of file RegisteredUser.py.

_port [private]

Definition at line 48 of file RegisteredUser.py.

_host [private]

Definition at line 49 of file RegisteredUser.py.

_contact [private]

Definition at line 50 of file RegisteredUser.py.

_service_route [private]

Definition at line 51 of file RegisteredUser.py.

_reg_uris [private]

Definition at line 52 of file RegisteredUser.py.

_target [private]

Definition at line 53 of file RegisteredUser.py.


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

Generated on Mon Aug 11 17:28:32 2008 for TestEnv by  doxygen 1.5.5