ITS
|
#include <caReceptionManagement.h>
Public Slots | |
void | readDatagram () |
readDatagram Slot used when a datagram is received. More... | |
Public Member Functions | |
caReceptionManagement (ParameterNetwork *network) | |
~caReceptionManagement () | |
~caReceptionManagement caReceptionManagement destructor. More... | |
bool | decodeCam (QByteArray data) |
decodeCam Try to decode received CAM. More... | |
Private Member Functions | |
void | camEventIndication (QByteArray packet) |
camEventIndication Notify the Application of receiving a CAM. More... | |
Private Attributes | |
QUdpSocket * | cam2app |
quint16 | appPort |
QUdpSocket * | m_internalSocket |
Definition at line 24 of file caReceptionManagement.h.
caReceptionManagement::caReceptionManagement | ( | ParameterNetwork * | network | ) |
brief caReceptionManagement caReceptionManagement constructor.
network | Network configuration. |
Definition at line 3 of file caReceptionManagement.cpp.
References ParameterNetwork::addBTPPort(), ParameterNetwork::addPort(), appPort, cam2app, ParameterNetwork::camDestinationPort(), ParameterNetwork::camDestinationPortInfo(), ParameterNetwork::internalBTPPort(), ParameterNetwork::internalPort(), m_internalSocket, and readDatagram().
caReceptionManagement::~caReceptionManagement | ( | ) |
~caReceptionManagement caReceptionManagement destructor.
Definition at line 18 of file caReceptionManagement.cpp.
References cam2app, and m_internalSocket.
|
private |
camEventIndication Notify the Application of receiving a CAM.
packet | The CAM notification. |
Definition at line 73 of file caReceptionManagement.cpp.
References appPort, cam2app, and UpperTesterPrimitives::PRIMITIVE_utCamEventInd.
Referenced by readDatagram().
bool caReceptionManagement::decodeCam | ( | QByteArray | data | ) |
decodeCam Try to decode received CAM.
data | The received CAM. |
Definition at line 42 of file caReceptionManagement.cpp.
References asn_DEF_CAM, messageID_cam, print_hexa(), protocolVersion_currentVersion, RC_FAIL, RC_OK, and uper_decode_complete().
Referenced by readDatagram().
|
slot |
readDatagram Slot used when a datagram is received.
Definition at line 26 of file caReceptionManagement.cpp.
References camEventIndication(), decodeCam(), and m_internalSocket.
Referenced by caReceptionManagement().
|
private |
Application / UpperTester port.
Definition at line 62 of file caReceptionManagement.h.
Referenced by camEventIndication(), and caReceptionManagement().
|
private |
UDP socket to communicate with the Application / UpperTester layer.
Definition at line 61 of file caReceptionManagement.h.
Referenced by camEventIndication(), caReceptionManagement(), and ~caReceptionManagement().
|
private |
UDP socket used for CAM reception.
Definition at line 64 of file caReceptionManagement.h.
Referenced by caReceptionManagement(), readDatagram(), and ~caReceptionManagement().