Wolframe, 0.0.3

_Wolframe::net::LocalEndpoint Class Referenceabstract

Local connection endpoints. More...

#include <connectionEndpoint.hpp>

Inheritance diagram for _Wolframe::net::LocalEndpoint:
_Wolframe::net::ConnectionEndpoint _Wolframe::net::LocalTCPendpoint _Wolframe::net::ServerTCPendpoint

Public Member Functions

 LocalEndpoint (const std::string &Host, unsigned short Port, const LocalEndpointConfig &Config=LocalEndpointConfig())
 
virtual ConnectionType type () const =0
 
EndPoint endpoint () const
 
time_t creationTime () const
 
const LocalEndpointConfigconfig () const
 
- Public Member Functions inherited from _Wolframe::net::ConnectionEndpoint
 ConnectionEndpoint (const std::string &Host, unsigned short Port)
 
virtual ~ConnectionEndpoint ()
 
const std::string & host () const
 
unsigned short port () const
 
std::string toString () const
 

Private Attributes

LocalEndpointConfig m_config
 configuration for authorization checks More...
 
time_t m_creationTime
 time when object has been constructed More...
 

Additional Inherited Members

- Public Types inherited from _Wolframe::net::ConnectionEndpoint
enum  ConnectionType { UDP, TCP, SSL }
 
enum  EndPoint { LOCAL_ENDPOINT, REMOTE_ENDPOINT }
 
- Static Public Member Functions inherited from _Wolframe::net::ConnectionEndpoint
static const char * connectionTypeName (ConnectionType t)
 

Detailed Description

Local connection endpoints.

Constructor & Destructor Documentation

_Wolframe::net::LocalEndpoint::LocalEndpoint ( const std::string &  Host,
unsigned short  Port,
const LocalEndpointConfig Config = LocalEndpointConfig() 
)
inline

Member Function Documentation

const LocalEndpointConfig& _Wolframe::net::LocalEndpoint::config ( ) const
inline
time_t _Wolframe::net::LocalEndpoint::creationTime ( ) const
inline
EndPoint _Wolframe::net::LocalEndpoint::endpoint ( ) const
inlinevirtual
virtual ConnectionType _Wolframe::net::LocalEndpoint::type ( ) const
pure virtual

Member Data Documentation

LocalEndpointConfig _Wolframe::net::LocalEndpoint::m_config
private

configuration for authorization checks

time_t _Wolframe::net::LocalEndpoint::m_creationTime
private

time when object has been constructed


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