Public Member Functions | ||||
ServerRef (const ServerRef &serverRef) | ||||
ServerRef & | operator= (const ServerRef &serverRef) | |||
ServerRef (const std::string &type, const std::string &address="") | ||||
| ||||
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. |
Definition at line 25 of file ServerRef.h.
org::xmlBlaster::util::ServerRef::ServerRef | ( | const ServerRef & | serverRef | ) |
org::xmlBlaster::util::ServerRef::ServerRef | ( | const std::string & | type, | |
const std::string & | address = "" | |||
) |
type | The protocol type, e.g. |
"IOR", "EMAIL", "XMLRPC"
address | A serverRef address for your client, suitable to the protocol for email e.g. "xmlblaster@xmlBlaster.org" |
void org::xmlBlaster::util::ServerRef::setAddress | ( | const std::string & | address | ) |
Set the serverRef address, it should fit to the protocol-type.
address | The serverRef address, e.g. "et@mars.univers" |
string org::xmlBlaster::util::ServerRef::getAddress | ( | ) | const |
Returns the address.
Definition at line 51 of file ServerRef.cpp.
string org::xmlBlaster::util::ServerRef::getType | ( | ) | const |
Returns the protocol type.
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.
extraOffset | indenting of tags for nice output |