Base class for network endpoints. More...
#include <connectionEndpoint.hpp>
Public Types | |
enum | ConnectionType { UDP, TCP, SSL } |
enum | EndPoint { LOCAL_ENDPOINT, REMOTE_ENDPOINT } |
Public Member Functions | |
ConnectionEndpoint (const std::string &Host, unsigned short Port) | |
virtual | ~ConnectionEndpoint () |
const std::string & | host () const |
unsigned short | port () const |
virtual ConnectionType | type () const =0 |
virtual EndPoint | endpoint () const =0 |
std::string | toString () const |
Static Public Member Functions | |
static const char * | connectionTypeName (ConnectionType t) |
Private Member Functions | |
void | operator= (const ConnectionEndpoint &) |
Private Attributes | |
std::string | m_host |
unsigned short | m_port |
Base class for network endpoints.
|
inline |
|
inlinevirtual |
|
inlinestatic |
|
pure virtual |
Implemented in _Wolframe::net::RemoteEndpoint, and _Wolframe::net::LocalEndpoint.
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
pure virtual |
|
private |
|
private |
Copyright © 2014 - Project Wolframe - All Rights Reserved