org::xmlBlaster::util::ServerRef Class Reference

List of all members.

Public Member Functions

 ServerRef (const ServerRef &serverRef)
ServerRefoperator= (const ServerRef &serverRef)
 ServerRef (const std::string &type, const std::string &address="")
 
Parameters:
type The protocol type, e.g.

void setAddress (const std::string &address)
 Set the serverRef address, it should fit to the protocol-type.
std::string getAddress () const
 Returns the address.
std::string getType () const
 Returns the protocol type.
std::string toXml () const
 Dump state of this object into a XML ASCII std::string.
std::string toXml (const std::string &extraOffset) const
 Dump state of this object into a XML ASCII std::string.

Detailed Description

Definition at line 25 of file ServerRef.h.


Constructor & Destructor Documentation

org::xmlBlaster::util::ServerRef::ServerRef ( const ServerRef serverRef  ) 

Definition at line 26 of file ServerRef.cpp.

References address_, and type_.

org::xmlBlaster::util::ServerRef::ServerRef ( const std::string &  type,
const std::string &  address = "" 
)

Parameters:
type The protocol type, e.g.

"IOR", "EMAIL", "XMLRPC"

Parameters:
address A serverRef address for your client, suitable to the protocol for email e.g. "xmlblaster@xmlBlaster.org"


Member Function Documentation

ServerRef & org::xmlBlaster::util::ServerRef::operator= ( const ServerRef serverRef  ) 

Definition at line 32 of file ServerRef.cpp.

References address_, and type_.

void org::xmlBlaster::util::ServerRef::setAddress ( const std::string &  address  ) 

Set the serverRef address, it should fit to the protocol-type.

Parameters:
address The serverRef address, e.g. "et@mars.univers"

string org::xmlBlaster::util::ServerRef::getAddress (  )  const

Returns the address.

Returns:
e.g. "IOR:00001100022...."

Definition at line 51 of file ServerRef.cpp.

string org::xmlBlaster::util::ServerRef::getType (  )  const

Returns the protocol type.

Returns:
e.g. "SOCKET" or "IOR"

Definition at line 56 of file ServerRef.cpp.

string org::xmlBlaster::util::ServerRef::toXml (  )  const

Dump state of this object into a XML ASCII std::string.

Definition at line 61 of file ServerRef.cpp.

std::string org::xmlBlaster::util::ServerRef::toXml ( const std::string &  extraOffset  )  const

Dump state of this object into a XML ASCII std::string.


Parameters:
extraOffset indenting of tags for nice output
Returns:
The xml representation


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