namespace lmsg class NameClient : private AppClient Name service client API.
| | ~NameClient (void) Destructor. |
| | NameClient (void) Construct a client. |
| | getDomain (void) const get the Domain name. |
| | setDebug (index_type level) Set the client interface debug level |
| | setDomain (const char* domain) Set the name server port address. |
| | addName (const char* name, const MsgAddr& addr, NameProcs Type=p_Any) Add a name. |
| | addName (const NameData& name) Add a name. |
| | getIndex (std::string& list, MsgAddr::ipaddr_t addr=0, NameProcs Type=p_Any) Get a list of names. |
| | remName (const char* name) Remove a name. |
| | remName (const NameData& name) Remove a name. |
| | lookup (const char* name, MsgAddr& addr) find a name. |
| | lookup (const char* name, NameData& msg) find a name. |
| | lookupID (int ident, MsgAddr& addr) find a name. |
| | lookupID (int ident, NameData& msg) find a name. |
The Name service client API allows ligo message users to look-up the address of dmt server processes, including monitors, Trigger managers, etc.
NameClient(void)
const char* getDomain(void) const
void setDebug(index_type level)
error_type setDomain(const char* domain)
error_type addName(const char* name, const MsgAddr& addr, NameProcs Type=p_Any)
addr - Address corresponding to the name.
ptype - Process type of the added name.
error_type addName(const NameData& name)
error_type getIndex(std::string& list, MsgAddr::ipaddr_t addr=0, NameProcs Type=p_Any)
addr - IP address for names.
ptype - Process types.
error_type remName(const char* name)
error_type remName(const NameData& name)
error_type lookup(const char* name, MsgAddr& addr)
addr - MsgAddr to receive the address of the named process.
error_type lookup(const char* name, NameData& msg)
addr - MsgAddr to receive the requested information.
error_type lookupID(int ident, MsgAddr& addr)
addr - MsgAddr to receive the address of the named process.
error_type lookupID(int ident, NameData& msg)
addr - MsgAddr to receive the requested information.
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++