Represents the local PFCP node.
More...
#include <epfcp.h>
Represents the local PFCP node.
| Enumerator |
|---|
| Initialized |
|
| Started |
|
| Stopping |
|
| Stopped |
|
| PFCP::LocalNode::LocalNode |
( |
| ) |
|
| PFCP::LocalNode::~LocalNode |
( |
| ) |
|
|
virtual |
| Seid PFCP::LocalNode::allocSeid |
( |
| ) |
|
Creates a new SEID.
- Returns
- the newly created SEID.
| ULong PFCP::LocalNode::allocSeqNbr |
( |
| ) |
|
Allocates a message sequence number for a request message.
- Returns
- the newly created sequence number.
| RemoteNodeSPtr PFCP::LocalNode::createRemoteNode |
( |
cpStr |
addr, |
|
|
UShort |
port |
|
) |
| |
|
inline |
Creates a remote Node that this local node will "talk" to.
- Parameters
-
| addr | the IP address of the remote host. |
| port | the port that messages will be sent to. |
| RemoteNodeSPtr PFCP::LocalNode::createRemoteNode |
( |
EIpAddress & |
address, |
|
|
UShort |
port |
|
) |
| |
Creates a remote Node that this local node will "talk" to.
- Parameters
-
| address | the IP address of the remote host. |
| port | the port that messages will be sent to. |
- Returns
- a reference to this object.
| SessionBaseSPtr PFCP::LocalNode::createSession |
( |
LocalNodeSPtr & |
ln, |
|
|
RemoteNodeSPtr & |
rn |
|
) |
| |
Creates a new Session object and registers it with the local and remote nodes.
- Parameters
-
| ln | the local node shared pointer. |
| rn | the remote node shared pointer. |
- Returns
- a shared pointer to the newly created session object.
| Void PFCP::LocalNode::freeSeid |
( |
Seid |
seid | ) |
|
Deallocates a SEID.
- Parameters
-
| seid | the SEID to deallocate. |
| Void PFCP::LocalNode::freeSeqNbr |
( |
ULong |
sn | ) |
|
Deallocates a sequence number.
- Parameters
-
| sn | the sequence number to deallocate. |
| Void PFCP::LocalNode::setNbrActivityWnds |
( |
size_t |
nbr | ) |
|
Sets the number of activity windows.
- Parameters
-
| nbr | the number of activity windows. |
Returns a reference to the underlying socket object for this local host.
- Returns
- a reference to the underlying socket object.
| State PFCP::LocalNode::state |
( |
| ) |
|
|
inline |
Gets the state of the local node.
- Returns
- the state of the local node.
| State PFCP::LocalNode::state |
( |
| ) |
const |
|
inline |
Returns the current state of the local node.
- Returns
- the current state of the local node.
The documentation for this class was generated from the following files:
- /home/vagrant/share/code/epctools-omec-pfcp/include/epc/epfcp.h
- /home/vagrant/share/code/epctools-omec-pfcp/src/epfcp.cpp