m2etis  0.4
m2etis::net::NodeHandle< NetworkType > Class Template Reference

NodeHandle in different structured p2p-systems. More...

#include <NodeHandle.h>

Inheritance diagram for m2etis::net::NodeHandle< NetworkType >:
Inheritance graph

Public Types

typedef boost::shared_ptr< const NodeHandle< NetworkType > > Ptr_const
 
typedef boost::shared_ptr< NodeHandle< NetworkType > > Ptr
 
typedef std::list< PtrPtrList
 

Public Member Functions

 NodeHandle ()
 
 NodeHandle (typename NetworkType::Key key, const std::string &hostname, const uint16_t port)
 
 ~NodeHandle ()
 
std::string to_str () const
 

Public Attributes

NetworkType::Key key_
 
std::string hostname_
 
uint16_t port_
 

Detailed Description

template<class NetworkType>
class m2etis::net::NodeHandle< NetworkType >

NodeHandle in different structured p2p-systems.

Long Desc

Definition at line 44 of file NodeHandle.h.

Member Typedef Documentation

template<class NetworkType>
typedef boost::shared_ptr<NodeHandle<NetworkType> > m2etis::net::NodeHandle< NetworkType >::Ptr

Definition at line 62 of file NodeHandle.h.

template<class NetworkType>
typedef boost::shared_ptr<const NodeHandle<NetworkType> > m2etis::net::NodeHandle< NetworkType >::Ptr_const

Definition at line 61 of file NodeHandle.h.

template<class NetworkType>
typedef std::list<Ptr> m2etis::net::NodeHandle< NetworkType >::PtrList

Definition at line 63 of file NodeHandle.h.

Constructor & Destructor Documentation

template<class NetworkType>
m2etis::net::NodeHandle< NetworkType >::NodeHandle ( )
inline

Definition at line 46 of file NodeHandle.h.

template<class NetworkType>
m2etis::net::NodeHandle< NetworkType >::NodeHandle ( typename NetworkType::Key  key,
const std::string &  hostname,
const uint16_t  port 
)
inline

Definition at line 47 of file NodeHandle.h.

template<class NetworkType>
m2etis::net::NodeHandle< NetworkType >::~NodeHandle ( )
inline

Definition at line 49 of file NodeHandle.h.

Member Function Documentation

template<class NetworkType>
std::string m2etis::net::NodeHandle< NetworkType >::to_str ( ) const
inline

Definition at line 55 of file NodeHandle.h.

Member Data Documentation

template<class NetworkType>
std::string m2etis::net::NodeHandle< NetworkType >::hostname_

Definition at line 52 of file NodeHandle.h.

template<class NetworkType>
NetworkType::Key m2etis::net::NodeHandle< NetworkType >::key_

Definition at line 51 of file NodeHandle.h.

template<class NetworkType>
uint16_t m2etis::net::NodeHandle< NetworkType >::port_

Definition at line 53 of file NodeHandle.h.


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