Represents a remote or peer PFCP node or host.
More...
#include <epfcp.h>
|
| class | Stats |
| | A class to hold message statistics for the remote node. More...
|
| |
Represents a remote or peer PFCP node or host.
| Enumerator |
|---|
| Initialized |
|
| Started |
|
| Stopping |
|
| Stopped |
|
| Failed |
|
| Restarted |
|
| PFCP::RemoteNode::RemoteNode |
( |
| ) |
|
| PFCP::RemoteNode::RemoteNode |
( |
const RemoteNode & |
| ) |
|
|
delete |
Disabled copy constructor.
| PFCP::RemoteNode::~RemoteNode |
( |
| ) |
|
|
virtual |
| Void PFCP::RemoteNode::collectStats |
( |
EJsonBuilder & |
builder | ) |
|
|
virtual |
Appends stats about the current remote node object to the provided json builder. Derived classes can override this function with additional information to append. This function is called during a call to Stats::collectNodeStats(). Derived implementations should call this base method in their implementation (e.g. RemoteNode::collectStats(builder)). Derived implementations should ensure thread-safety for accessed members. This function is thread-safe.
- Parameters
-
| builder | the json builder to populate |
| RemoteNode & PFCP::RemoteNode::deleteAllSesssions |
( |
RemoteNodeSPtr & |
rn | ) |
|
Initiates the process to delete all of the sessions associated with this remote node.
- Parameters
-
| rn | a reference to the RemoteNode shared pointer to this object. |
- Returns
- a reference to this object.
| RemoteNode & PFCP::RemoteNode::disconnect |
( |
RemoteNodeSPtr & |
rn | ) |
|
Disconnects the remote peer and deletes all associated sessions.
- Parameters
-
| rn | a reference to the RemoteNode shared pointer to this object. |
- Returns
- a reference to this object.
| RemoteNode & PFCP::RemoteNode::setNbrActivityWnds |
( |
size_t |
nbr | ) |
|
Sets the number of activity windows.
- Parameters
-
| nbr | the number of activity windows. |
- Returns
- a reference to this object.
| RemoteNode& PFCP::RemoteNode::setTeidRangeValue |
( |
Int |
trv | ) |
|
|
inline |
Sets the TEID range value.
- Parameters
-
| trv | the new TEID range value. |
- Returns
- a reference to this object.
| State PFCP::RemoteNode::state |
( |
| ) |
const |
|
inline |
Returns the current state of the local node.
- Returns
- the current state of the local node.
| Stats& PFCP::RemoteNode::stats |
( |
| ) |
|
|
inline |
Returns the stats object for this remote node.
- Returns
- a reference to the stats object
| Int PFCP::RemoteNode::teidRangeValue |
( |
| ) |
const |
|
inline |
Returns the currently configured TEID range value.
- Returns
- the currently configured TEID range value.
The documentation for this class was generated from the following files:
- /home/vagrant/share/code/epctoolsbw2/include/epc/epfcp.h
- /home/vagrant/share/code/epctoolsbw2/src/epfcp.cpp