Hazelcast C++ Client
 All Classes Functions Variables Enumerations Pages
Public Member Functions | Static Public Attributes | List of all members
hazelcast::client::Address Class Reference

IP Address. More...

#include <Address.h>

+ Inheritance diagram for hazelcast::client::Address:

Public Member Functions

 Address ()
 Constructor.
 
 Address (const std::string &url, int port)
 Constructor.
 
bool operator== (const Address &address) const
 comparison operator More...
 
int getPort () const
 
const std::string & getHost () const
 
virtual int getFactoryId () const
 
virtual int getClassId () const
 
virtual void writeData (serialization::ObjectDataOutput &writer) const
 Defines how this class will be written. More...
 
virtual void readData (serialization::ObjectDataInput &reader)
 Defines how this class will be read. More...
 
- Public Member Functions inherited from hazelcast::client::serialization::IdentifiedDataSerializable
virtual ~IdentifiedDataSerializable ()
 Destructor.
 

Static Public Attributes

static const int ID = cluster::impl::ADDRESS
 

Detailed Description

IP Address.

Member Function Documentation

int hazelcast::client::Address::getClassId ( ) const
virtual
int hazelcast::client::Address::getFactoryId ( ) const
virtual
const std::string & hazelcast::client::Address::getHost ( ) const
Returns
host address as string
int hazelcast::client::Address::getPort ( ) const
Returns
port number.
bool hazelcast::client::Address::operator== ( const Address address) const

comparison operator

Parameters
addressto be compared.
void hazelcast::client::Address::readData ( serialization::ObjectDataInput reader)
virtual

Defines how this class will be read.

Parameters
readerObjectDataInput

Implements hazelcast::client::serialization::IdentifiedDataSerializable.

void hazelcast::client::Address::writeData ( serialization::ObjectDataOutput writer) const
virtual

Defines how this class will be written.

Parameters
writerObjectDataOutput

Implements hazelcast::client::serialization::IdentifiedDataSerializable.


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