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

Obsoleted: the address of NPL runtime environment. More...

#include <NPLCommon.h>

Public Member Functions

 NPLAddress (const char *sAddress)
 
bool IsLocal ()
 whether the address is the local address
 
string GetIP ()
 TODO: get the IP address component in the address.
 
string GetPort ()
 TODO: get the port component in the address.
 
string ToString ()
 convert to string. More...
 

Public Attributes

string m_sAddress
 

Detailed Description

Obsoleted: the address of NPL runtime environment.

Normally, it is IP+port.

Member Function Documentation

§ ToString()

string NPL::NPLAddress::ToString ( )
inline

convert to string.

e.g. "192.168.0.10:4000"


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