Classified ads
Public Member Functions | Public Attributes | List of all members
VoiceCall Class Reference

Carrier-class handling audio negotiation setup and data. More...

#include <voicecall.h>

Inheritance diagram for VoiceCall:
Inheritance graph
[legend]
Collaboration diagram for VoiceCall:
Collaboration graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ VoiceCall()

VoiceCall::VoiceCall ( )

constructor

◆ ~VoiceCall()

VoiceCall::~VoiceCall ( )

destructor

Member Function Documentation

◆ asJSon()

QByteArray VoiceCall::asJSon ( ) const

returns voicecall data as JSon stream

◆ fromJSon()

bool VoiceCall::fromJSon ( const QByteArray &  aJSonBytes)

parses json into members

Member Data Documentation

◆ iCallId

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

◆ iDestinationNode

Hash VoiceCall::iDestinationNode

Call destination node

◆ iDestinationOperatorKey

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.

◆ iOkToProceed

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".

◆ iOriginatingNode

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

◆ iOriginatingOperatorKey

QByteArray VoiceCall::iOriginatingOperatorKey

Encryption key of the operator who is initiating the call. PEM.

◆ iPeerOperatorNick

QString VoiceCall::iPeerOperatorNick

Who are we talking with, friendly name. Used for UI purposes, not transferred over network

◆ iSymmetricAESKey

QByteArray VoiceCall::iSymmetricAESKey

Symmetric encryption key to use if sending call data over unsecure channel

◆ iTimeOfCallAttempt

time_t VoiceCall::iTimeOfCallAttempt

time of call attempt


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