OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
openjaus::system::InetAddress Class Reference

This is a brief description. More...

#include <InetAddress.h>

Public Member Functions

 InetAddress ()
 
virtual ~InetAddress ()
 
 InetAddress (int value)
 
 InetAddress (const std::string &name)
 
int getValue () const
 Accessor to get the value of value. More...
 
bool setValue (int value)
 Accessor to set value of value. More...
 
uint32_t hash ()
 Operation hash. More...
 
virtual std::string toString () const
 

Static Public Member Functions

static InetAddress getByName (std::string name)
 Operation getByName. More...
 
static InetAddress getLocalHost ()
 Operation getLocalHost. More...
 
static InetAddress anyAddress ()
 Operation anyAddress. More...
 

Static Public Attributes

static const short ANY_PORT = 0
 

Protected Attributes

int value
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const InetAddress &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const InetAddress *object)
 

Detailed Description

Detailed description.

Author
Name (name@.nosp@m.emai.nosp@m.l.com)

Constructor & Destructor Documentation

§ InetAddress() [1/3]

openjaus::system::InetAddress::InetAddress ( )

§ ~InetAddress()

openjaus::system::InetAddress::~InetAddress ( )
virtual

§ InetAddress() [2/3]

openjaus::system::InetAddress::InetAddress ( int  value)

§ InetAddress() [3/3]

openjaus::system::InetAddress::InetAddress ( const std::string &  name)

Member Function Documentation

§ anyAddress()

InetAddress openjaus::system::InetAddress::anyAddress ( )
static

§ getByName()

InetAddress openjaus::system::InetAddress::getByName ( std::string  name)
static
Parameters
name

§ getLocalHost()

InetAddress openjaus::system::InetAddress::getLocalHost ( )
static

§ getValue()

int openjaus::system::InetAddress::getValue ( ) const

§ hash()

uint32_t openjaus::system::InetAddress::hash ( )

§ setValue()

bool openjaus::system::InetAddress::setValue ( int  value)
Parameters
valueThe value of the new value.

§ toString()

std::string openjaus::system::InetAddress::toString ( ) const
virtual

Friends And Related Function Documentation

§ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const InetAddress object 
)
friend

§ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const InetAddress object 
)
friend

Member Data Documentation

§ ANY_PORT

const short openjaus::system::InetAddress::ANY_PORT = 0
static

§ value

int openjaus::system::InetAddress::value
protected

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