My Project
Public Member Functions | Public Attributes | List of all members
NPL::NPLServerInfo Class Reference

Information of the local or a remote server. More...

#include <NPLCommon.h>

Inheritance diagram for NPL::NPLServerInfo:

Public Member Functions

 NPLServerInfo (const string &sNID, const string &sIP, const string &sPort, bool bTrusted=true)
 

Public Attributes

string m_sNID
 NID of the NPL server.
 
string m_sIP
 this can be IP addresses or domain name, such as "localhost", "server.paraengine.com"
 
string m_sPort
 port of the server.
 
bool m_bTrusted
 whether we trust this server, if true, we will automatically connect to it when there is a NPL activation call to it.
 

Detailed Description

Information of the local or a remote server.

Such information is usually published publicly, such as NID, IP, port of the server, whether the server can be trusted.

Note
: we will only establish connections with trusted servers. One can tell the NPL runtime which servers are trusted. callers normally add a number of trusted server infos before making any activation calls.

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