EpcTools
An event based multi-threaded C++ development framework.
Public Member Functions | Static Public Member Functions | List of all members
PFCP::Node Class Reference

Contains the basic Node functionality common to both a LocalNode and a RemoteNode. More...

#include <epfcp.h>

Inheritance diagram for PFCP::Node:
PFCP::LocalNode PFCP::RemoteNode

Public Member Functions

 Node ()
 Default constructor. More...
 
virtual ~Node ()
 Class destructor. More...
 
EIpAddressipAddress ()
 Returns the IP address associated with this node. More...
 
NodesetIpAddress (const EIpAddress &ipaddr)
 Assigns the IP address for this node. More...
 
ESocket::Addressaddress ()
 Returns the ESocket::Address object representing the IP address for this node. More...
 
NodesetAddress (const ESocket::Address &addr)
 Assigns the ESocket::Address object representing the IP address for this node. More...
 
const ETimestartTime () const
 Returns the Node start time. More...
 
NodesetStartTime (const ETime &st=ETime::Now())
 Assigns the Node start time. More...
 
SessionBaseSPtr getSession (Seid seid)
 Returns the session object for the specified SEID. More...
 

Static Public Member Functions

static ULongLong nodesCreated ()
 
static ULongLong nodesDeleted ()
 

Detailed Description

Contains the basic Node functionality common to both a LocalNode and a RemoteNode.

Constructor & Destructor Documentation

PFCP::Node::Node ( )
inline

Default constructor.

virtual PFCP::Node::~Node ( )
inlinevirtual

Class destructor.

Member Function Documentation

ESocket::Address& PFCP::Node::address ( )
inline

Returns the ESocket::Address object representing the IP address for this node.

Returns
the ESocket::Address object representing the IP address for this node.
SessionBaseSPtr PFCP::Node::getSession ( Seid  seid)
inline

Returns the session object for the specified SEID.

Parameters
seidthe SEID of the session to return.
Returns
the session object.
EIpAddress& PFCP::Node::ipAddress ( )
inline

Returns the IP address associated with this node.

Returns
the IP address associated with this node.
static ULongLong PFCP::Node::nodesCreated ( )
inlinestatic
static ULongLong PFCP::Node::nodesDeleted ( )
inlinestatic
Node& PFCP::Node::setAddress ( const ESocket::Address addr)
inline

Assigns the ESocket::Address object representing the IP address for this node.

Parameters
addra reference to the ESocket::Address to assign.
Returns
a reference to this object.
Node& PFCP::Node::setIpAddress ( const EIpAddress ipaddr)
inline

Assigns the IP address for this node.

Parameters
ipaddrthe IP address for this node.
Returns
a reference to this object.
Node& PFCP::Node::setStartTime ( const ETime st = ETime::Now())
inline

Assigns the Node start time.

Parameters
stthe start time object to assign.
Returns
a reference to this object.
const ETime& PFCP::Node::startTime ( ) const
inline

Returns the Node start time.

Returns
the Node start time.

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