|
EpcTools
An event based multi-threaded C++ development framework.
|
Represents a remote or peer PFCP node or host. More...
#include <epfcp.h>
Public Types | |
| enum | State { State::Initialized, State::Started, State::Stopping, State::Stopped, State::Failed, State::Restarted } |
Public Member Functions | |
| RemoteNode () | |
| Defalut constructor. More... | |
| virtual | ~RemoteNode () |
| Class destructor. More... | |
| Int | teidRangeValue () const |
| Returns the currently configured TEID range value. More... | |
| RemoteNode & | setTeidRangeValue (Int trv) |
| Sets the TEID range value. More... | |
| RemoteNode & | setNbrActivityWnds (size_t nbr) |
| Sets the number of activity windows. More... | |
| RemoteNode & | deleteAllSesssions (RemoteNodeSPtr &rn) |
| Initiates the process to delete all of the sessions associated with this remote node. More... | |
| RemoteNode & | disconnect (RemoteNodeSPtr &rn) |
| Disconnects the remote peer and deletes all associated sessions. More... | |
| State | state () const |
| Returns the current state of the local node. More... | |
Public Member Functions inherited from PFCP::Node | |
| Node () | |
| Default constructor. More... | |
| virtual | ~Node () |
| Class destructor. More... | |
| EIpAddress & | ipAddress () |
| Returns the IP address associated with this node. More... | |
| Node & | setIpAddress (const EIpAddress &ipaddr) |
| Assigns the IP address for this node. More... | |
| ESocket::Address & | address () |
| Returns the ESocket::Address object representing the IP address for this node. More... | |
| Node & | setAddress (const ESocket::Address &addr) |
| Assigns the ESocket::Address object representing the IP address for this node. More... | |
| const ETime & | startTime () const |
| Returns the Node start time. More... | |
| Node & | setStartTime (const ETime &st=ETime::Now()) |
| Assigns the Node start time. More... | |
| SessionBaseSPtr | getSession (Seid seid) |
| Returns the session object for the specified SEID. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from PFCP::Node | |
| static ULongLong | nodesCreated () |
| static ULongLong | nodesDeleted () |
Represents a remote or peer PFCP node or host.
|
strong |
| PFCP::RemoteNode::RemoteNode | ( | ) |
Defalut constructor.
|
virtual |
Class destructor.
| RemoteNode& PFCP::RemoteNode::deleteAllSesssions | ( | RemoteNodeSPtr & | rn | ) |
Initiates the process to delete all of the sessions associated with this remote node.
| rn | a reference to the RemoteNode shared pointer to this object. |
| RemoteNode& PFCP::RemoteNode::disconnect | ( | RemoteNodeSPtr & | rn | ) |
Disconnects the remote peer and deletes all associated sessions.
| rn | a reference to the RemoteNode shared pointer to this object. |
| RemoteNode& PFCP::RemoteNode::setNbrActivityWnds | ( | size_t | nbr | ) |
Sets the number of activity windows.
| nbr | the number of activity windows. |
|
inline |
Sets the TEID range value.
| trv | the new TEID range value. |
|
inline |
Returns the current state of the local node.
|
inline |
Returns the currently configured TEID range value.
1.8.11