Classified ads
|
Carrier-class handling audio negotiation setup and data. More...
#include <voicecall.h>
Public Member Functions | |
VoiceCall () | |
~VoiceCall () | |
QByteArray | asJSon () const |
bool | fromJSon (const QByteArray &aJSonBytes) |
Public Attributes | |
quint32 | iCallId |
Hash | iOriginatingNode |
Hash | iDestinationNode |
QByteArray | iOriginatingOperatorKey |
QByteArray | iDestinationOperatorKey |
bool | iOkToProceed |
time_t | iTimeOfCallAttempt |
QByteArray | iSymmetricAESKey |
QString | iPeerOperatorNick |
Carrier-class handling audio negotiation setup and data.
DTO object that typically is not stored but may be transferred in network. This contains data related to real-time audio data sent between nodes, either directly, over some protocol, or via proxy host. Here "VoiceCall" means a audio link between 2 nodes. If there ever is some kind of "conference call" function, it will include or encapsulate several instances of this class.
VoiceCall::VoiceCall | ( | ) |
constructor
VoiceCall::~VoiceCall | ( | ) |
destructor
QByteArray VoiceCall::asJSon | ( | ) | const |
returns voicecall data as JSon stream
bool VoiceCall::fromJSon | ( | const QByteArray & | aJSonBytes | ) |
parses json into members
quint32 VoiceCall::iCallId |
Call-id. This is identification number chosen by originating party ; subsequent transactions will contain this number to help in keeping track about what belongs where
Hash VoiceCall::iDestinationNode |
Call destination node
QByteArray VoiceCall::iDestinationOperatorKey |
Encryption key of the operator who answered the call. PEM. This is empty when call is initiated and if call accepter of the call wants to retain her identity.
bool VoiceCall::iOkToProceed |
Verdict of the call attempt from destination node: if the recipient does not wish to receive the call, she will set this to false and return this DTO. Initial value is naturally "true".
Hash VoiceCall::iOriginatingNode |
voice calls have direction at setup phase: one node initiates call attempt that is destined to some other node. Here is originating node
QByteArray VoiceCall::iOriginatingOperatorKey |
Encryption key of the operator who is initiating the call. PEM.
QString VoiceCall::iPeerOperatorNick |
Who are we talking with, friendly name. Used for UI purposes, not transferred over network
QByteArray VoiceCall::iSymmetricAESKey |
Symmetric encryption key to use if sending call data over unsecure channel
time_t VoiceCall::iTimeOfCallAttempt |
time of call attempt