Public Member Functions | Static Public Attributes | Protected Attributes

ProxNodeHandle Class Reference

#include <ProxNodeHandle.h>

Inheritance diagram for ProxNodeHandle:
NodeHandle TransportAddress KademliaBucketEntry

List of all members.

Public Member Functions

 ProxNodeHandle ()
 ProxNodeHandle (const NodeHandle &nodeHandle)
 ProxNodeHandle (const NodeHandle &nodeHandle, const Prox &prox)
virtual ~ProxNodeHandle ()
void setProx (Prox prox)
Prox getProx () const

Static Public Attributes

static const ProxNodeHandle UNSPECIFIED_NODE
 the unspecified ProxNodeHandle

Protected Attributes

Prox prox

Detailed Description

Definition at line 65 of file ProxNodeHandle.h.


Constructor & Destructor Documentation

ProxNodeHandle::ProxNodeHandle (  ) 

Definition at line 53 of file ProxNodeHandle.cc.

{
    // TODO Auto-generated constructor stub

}

ProxNodeHandle::ProxNodeHandle ( const NodeHandle nodeHandle  ) 

Definition at line 64 of file ProxNodeHandle.cc.

: NodeHandle(nodeHandle), prox(prox)
{
    //...
}

ProxNodeHandle::ProxNodeHandle ( const NodeHandle nodeHandle,
const Prox prox 
)

Definition at line 70 of file ProxNodeHandle.cc.

: NodeHandle(nodeHandle), prox(prox)
{
    //...
}

ProxNodeHandle::~ProxNodeHandle (  )  [virtual]

Definition at line 59 of file ProxNodeHandle.cc.

{
    // TODO Auto-generated destructor stub
}


Member Function Documentation

Prox ProxNodeHandle::getProx (  )  const [inline]
void ProxNodeHandle::setProx ( Prox  prox  )  [inline]

Definition at line 77 of file ProxNodeHandle.h.

Referenced by Kademlia::findNode(), and Kademlia::routingAdd().

{ this->prox = prox; };


Member Data Documentation

the unspecified ProxNodeHandle

Reimplemented from NodeHandle.

Definition at line 71 of file ProxNodeHandle.h.


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