|
EpcTools
An event based multi-threaded C++ development framework.
|
Represents a PFCP session. It is expected that a developer utilizing this library will derive their own specialized session object from this class. More...
#include <epfcp.h>
Public Member Functions | |
| SessionBase (LocalNodeSPtr &ln, RemoteNodeSPtr &rn) | |
| Class constructor. More... | |
| SessionBase (const SessionBase &s) | |
| Copy constructor. More... | |
| virtual | ~SessionBase () |
| Class destructor. More... | |
| LocalNodeSPtr & | localNode () |
| Returns the LocalNode object associated with this session. More... | |
| RemoteNodeSPtr & | remoteNode () |
| Returns the RemoteNode object associated with this session. More... | |
| const Seid | localSeid () const |
| Returns the SEID associated with this session. More... | |
| const Seid | remoteSeid () const |
| Returns the remote SEID associated with this session. More... | |
| SessionBase & | setSeid (SessionBaseSPtr &s, Seid ls, Seid rs, Bool notify=True) |
| Sets the local and remote SEID for this session. More... | |
| SessionBase & | setLocalSeid (SessionBaseSPtr &s, Seid ls) |
| Sets the local SEID for this session. More... | |
| SessionBase & | setRemoteSeid (SessionBaseSPtr &s, Seid rs) |
| Sets the remote SEID for this session. More... | |
| virtual Void | destroy (SessionBaseSPtr &s) |
| Starts the destruction process for the session. More... | |
Static Public Member Functions | |
| static ULongLong | sessionsCreated () |
| static ULongLong | sessionsDeleted () |
| static void * | operator new (size_t sz) |
| static void | operator delete (void *m) |
Represents a PFCP session. It is expected that a developer utilizing this library will derive their own specialized session object from this class.
|
inline |
Class constructor.
| ln | the LocalNode for this session. |
| rn | the RemoteNode for this session. |
|
inline |
Copy constructor.
| s | the SessionBase object to copy. |
|
virtual |
Class destructor.
|
virtual |
Starts the destruction process for the session.
|
inline |
|
inline |
Returns the SEID associated with this session.
|
inlinestatic |
|
inlinestatic |
|
inline |
Returns the RemoteNode object associated with this session.
|
inline |
Returns the remote SEID associated with this session.
|
inlinestatic |
|
inlinestatic |
|
inline |
Sets the local SEID for this session.
| s | a shared pointer associated with this session object. |
| ls | the local SEID. |
|
inline |
Sets the remote SEID for this session.
| s | a shared pointer associated with this session object. |
| rs | the remote SEID. |
| SessionBase& PFCP::SessionBase::setSeid | ( | SessionBaseSPtr & | s, |
| Seid | ls, | ||
| Seid | rs, | ||
| Bool | notify = True |
||
| ) |
Sets the local and remote SEID for this session.
| s | a shared pointer associated with this session object. |
| ls | the local SEID. |
| rs | the remote SEID. |
1.8.11