Distributed Cache
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Address Struct Reference

#include <requests.h>

Collaboration diagram for Address:
Collaboration graph

Public Member Functions

 Address (const std::string ip="invalid", const int port=-1)
 
bool operator== (const Address &other)
 
bool operator< (const Address &other) const
 
std::string toString () const
 
 operator std::string () const
 

Static Public Member Functions

static int getConnection (Address addr)
 

Public Attributes

std::string ip
 
int port
 

Constructor & Destructor Documentation

◆ Address()

Address::Address ( const std::string  ip = "invalid",
const int  port = -1 
)
inline

Member Function Documentation

◆ getConnection()

static int Address::getConnection ( Address  addr)
inlinestatic
Here is the caller graph for this function:

◆ operator std::string()

Address::operator std::string ( ) const
inline
Here is the call graph for this function:

◆ operator<()

bool Address::operator< ( const Address &  other) const
inline

◆ operator==()

bool Address::operator== ( const Address &  other)
inline

◆ toString()

std::string Address::toString ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ ip

std::string Address::ip

◆ port

int Address::port

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