Represents a Call in the VoiceCall system.

#include <iCall.h>

Public Member Functions

boost::system::error_code subscribe (CallObserver *observer)
 
boost::system::error_code unsubscribe (CallObserver *observer)
 
int getId () const
 
dpyVoicecall::CallStatus getStatus () const
 
dpyVoicecall::CallDirection getDirection () const
 
std::string getSourceId () const
 
dpyVoicecall::CallInformation getCallInformation ()
 

Protected Member Functions

void notifyCallStatusUpdate (const std::string &callid, const dpyVoicecall::CallStatus &status)
 

Protected Attributes

int mCallId
 
std::string mSourceId
 
std::vector< CallObserver * > mObserversList
 
dpyVoicecall::CallInformation mCallInfo
 

Member Function Documentation

dpyVoicecall::CallInformation getCallInformation ( )

Gets call information

Returns
call information
dpyVoicecall::CallDirection getDirection ( ) const

Gets call direction

Returns
call direction
int getId ( ) const

Gets call id

Returns
call id
std::string getSourceId ( ) const

Gets call source associated with this call

Returns
call source
dpyVoicecall::CallStatus getStatus ( ) const

Gets call status

Returns
call status