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

#include <pfcpr15.h>

Inheritance diagram for PFCP_R15::Translator:
PFCP::Translator

Public Member Functions

 Translator ()
 
 ~Translator ()
 Class destructor. More...
 
PFCP::ReqOutPtr encodeHeartbeatReq (PFCP::SndHeartbeatReqData &hb)
 
PFCP::RspOutPtr encodeHeartbeatRsp (PFCP::SndHeartbeatRspData &hb)
 
PFCP::RspOutPtr encodeVersionNotSupportedRsp (PFCP::ReqInPtr msg)
 
PFCP::ReqOutPtr encodeReq (PFCP::AppMsgReqPtr msg)
 Encodes the PFCP request message specified by the application message request. More...
 
PFCP::RspOutPtr encodeRsp (PFCP::AppMsgRspPtr msg)
 Encodes the PFCP response message specified by the application message response. More...
 
PFCP::AppMsgReqPtr decodeReq (PFCP::ReqInPtr msg)
 
PFCP::AppMsgRspPtr decodeRsp (PFCP::RspInPtr msg)
 
PFCP::RcvdHeartbeatReqDataPtr decodeHeartbeatReq (PFCP::ReqInPtr msg)
 
PFCP::RcvdHeartbeatRspDataPtr decodeHeartbeatRsp (PFCP::RspInPtr msg)
 
Void getMsgInfo (PFCP::TranslatorMsgInfo &info, cpUChar msg, Int len)
 
Bool isVersionSupported (UChar ver)
 Returns True if the specified version is supported by the Translator. More...
 
PFCP::MsgClass messageClass (PFCP::MsgType mt)
 
PFCP::MsgType pfcpHeartbeatReq ()
 Returns the message type value for a heartbeat request message. More...
 
PFCP::MsgType pfcpHeartbeatRsp ()
 Returns the message type value for a heartbeat response message. More...
 
PFCP::MsgType pfcpSessionEstablishmentReq ()
 Returns the message type value for a session establishment request message. More...
 
PFCP::MsgType pfcpSessionEstablishmentRsp ()
 Returns the message type value for a session establishment response message. More...
 
PFCP::MsgType pfcpAssociationSetupReq ()
 Returns the message type value for a association setup request message. More...
 
PFCP::MsgType pfcpAssociationSetupRsp ()
 Returns the message type value for a association setup response message. More...
 
- Public Member Functions inherited from PFCP::Translator
 Translator ()
 Default constructor. More...
 
virtual ReqOutPtr encodeHeartbeatReq (SndHeartbeatReqData &hb)=0
 Encodes a heartbeat request message. More...
 
virtual RspOutPtr encodeHeartbeatRsp (SndHeartbeatRspData &hb)=0
 Encodes a heartbeat response message. More...
 
virtual RspOutPtr encodeVersionNotSupportedRsp (ReqInPtr msg)=0
 Encodes a version not supported message. More...
 
virtual AppMsgReqPtr decodeReq (ReqInPtr msg)=0
 Decodes the PFCP request message. More...
 
virtual AppMsgRspPtr decodeRsp (RspInPtr msg)=0
 Decodes the PFCP response message. More...
 
virtual RcvdHeartbeatReqDataPtr decodeHeartbeatReq (ReqInPtr msg)=0
 Decodes the PFCP heartbeat request message. More...
 
virtual RcvdHeartbeatRspDataPtr decodeHeartbeatRsp (RspInPtr msg)=0
 Decodes the PFCP heartbeat response message. More...
 
virtual Void getMsgInfo (TranslatorMsgInfo &info, cpUChar msg, Int len)=0
 Returns basic information about a message. More...
 
virtual MsgClass messageClass (MsgType mt)=0
 Returns the message class associated with the provided message type. More...
 

Constructor & Destructor Documentation

PFCP_R15::Translator::Translator ( )
PFCP_R15::Translator::~Translator ( )
virtual

Class destructor.

Reimplemented from PFCP::Translator.

Member Function Documentation

PFCP::RcvdHeartbeatReqDataPtr PFCP_R15::Translator::decodeHeartbeatReq ( PFCP::ReqInPtr  msg)
PFCP::RcvdHeartbeatRspDataPtr PFCP_R15::Translator::decodeHeartbeatRsp ( PFCP::RspInPtr  msg)
PFCP::AppMsgReqPtr PFCP_R15::Translator::decodeReq ( PFCP::ReqInPtr  msg)
PFCP::AppMsgRspPtr PFCP_R15::Translator::decodeRsp ( PFCP::RspInPtr  msg)
PFCP::ReqOutPtr PFCP_R15::Translator::encodeHeartbeatReq ( PFCP::SndHeartbeatReqData &  hb)
PFCP::RspOutPtr PFCP_R15::Translator::encodeHeartbeatRsp ( PFCP::SndHeartbeatRspData &  hb)
PFCP::ReqOutPtr PFCP_R15::Translator::encodeReq ( PFCP::AppMsgReqPtr  msg)
virtual

Encodes the PFCP request message specified by the application message request.

Parameters
msga pointer to the application request message.
Returns
a pointer to the encoded request.

Implements PFCP::Translator.

PFCP::RspOutPtr PFCP_R15::Translator::encodeRsp ( PFCP::AppMsgRspPtr  msg)
virtual

Encodes the PFCP response message specified by the application message response.

Parameters
msga pointer to the application response message.
Returns
a pointer to the encoded response.

Implements PFCP::Translator.

PFCP::RspOutPtr PFCP_R15::Translator::encodeVersionNotSupportedRsp ( PFCP::ReqInPtr  msg)
Void PFCP_R15::Translator::getMsgInfo ( PFCP::TranslatorMsgInfo &  info,
cpUChar  msg,
Int  len 
)
Bool PFCP_R15::Translator::isVersionSupported ( UChar  ver)
virtual

Returns True if the specified version is supported by the Translator.

Implements PFCP::Translator.

PFCP::MsgClass PFCP_R15::Translator::messageClass ( PFCP::MsgType  mt)
PFCP::MsgType PFCP_R15::Translator::pfcpAssociationSetupReq ( )
virtual

Returns the message type value for a association setup request message.

Returns
the message type value for a association setup request message.

Implements PFCP::Translator.

PFCP::MsgType PFCP_R15::Translator::pfcpAssociationSetupRsp ( )
virtual

Returns the message type value for a association setup response message.

Returns
the message type value for a association setup response message.

Implements PFCP::Translator.

PFCP::MsgType PFCP_R15::Translator::pfcpHeartbeatReq ( )
virtual

Returns the message type value for a heartbeat request message.

Returns
the message type value for a heartbeat request message.

Implements PFCP::Translator.

PFCP::MsgType PFCP_R15::Translator::pfcpHeartbeatRsp ( )
virtual

Returns the message type value for a heartbeat response message.

Returns
the message type value for a heartbeat response message.

Implements PFCP::Translator.

PFCP::MsgType PFCP_R15::Translator::pfcpSessionEstablishmentReq ( )
virtual

Returns the message type value for a session establishment request message.

Returns
the message type value for a session establishment request message.

Implements PFCP::Translator.

PFCP::MsgType PFCP_R15::Translator::pfcpSessionEstablishmentRsp ( )
virtual

Returns the message type value for a session establishment response message.

Returns
the message type value for a session establishment response message.

Implements PFCP::Translator.


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