My Project
Public Member Functions | List of all members
NPL::NPLRuntimeAddress Struct Reference

The globally unique address of NPL runtime. More...

#include <NPLCommon.h>

Inheritance diagram for NPL::NPLRuntimeAddress:

Public Member Functions

 NPLRuntimeAddress (const string &sHost, const string &sPort, const string &sNID)
 
const std::string & GetHost () const
 
const std::string & GetPort () const
 
const std::string & GetNID () const
 
void SetNID (const char *nid)
 
void SetNID (const std::string &nid)
 

Detailed Description

The globally unique address of NPL runtime.

Usually it is IP:port, which is also mapped to an email like string, called NPL ID or NID. The NID is obtained when an IP:port is authenticated and retrieved the NID from a NPL name server. The name server can be implemented via a jabber or web server.

Always create using shared pointer like this: NPLRuntimeAddress_ptr address(new NPLRuntimeAddress_ptr(...));


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