Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Signals | Public Member Functions | Protected Attributes | List of all members
CIceSignal Class Referenceabstract

The ICE signal interface class. More...

#include <IceSignal.h>

Inheritance diagram for CIceSignal:
CIceSignalQxmpp CIceSignalWebSocket

Signals

void sigConnected ()
 
void sigDisconnected ()
 
void sigError (int nError, const QString &szError)
 
void sigOffer (const QString &fromUser, const QString &toUser, const QString &channelId, const QString &type, const QString &sdp)
 sigOffer
 
void sigCandidate (const QString &fromUser, const QString &toUser, const QString &channelId, const QString &mid, const QString &sdp)
 sigCandiate
 
void sigDescription (const QString &fromUser, const QString &toUser, const QString &channelId, const QString &type, const QString &sdp)
 sigDescription
 

Public Member Functions

 CIceSignal (QObject *parent=nullptr)
 
virtual int Open (const QString &szServer, quint16 nPort, const QString &user=QString(), const QString &password=QString())=0
 
virtual int Close ()=0
 
virtual bool IsConnected ()=0
 
virtual int SendDescription (const QString &toUser, const QString &channelId, const rtc::Description &description, const QString &fromUser=QString())=0
 
virtual int SendCandidate (const QString &toUser, const QString &channelId, const rtc::Candidate &candidate, const QString &fromUser=QString())=0
 

Protected Attributes

QLoggingCategory m_Log
 

Detailed Description

The ICE signal interface class.

Author
Kang Lin kl222.nosp@m.@126.nosp@m..com

The signal is base on libdatachannel

Definition at line 25 of file IceSignal.h.

Constructor & Destructor Documentation

◆ CIceSignal()

CIceSignal::CIceSignal ( QObject *  parent = nullptr)
explicit
Author
Kang Lin kl222.nosp@m.@126.nosp@m..com

Definition at line 6 of file IceSignal.cpp.

◆ ~CIceSignal()

CIceSignal::~CIceSignal ( )
virtual

Definition at line 11 of file IceSignal.cpp.

Member Function Documentation

◆ sigCandidate

void CIceSignal::sigCandidate ( const QString &  fromUser,
const QString &  toUser,
const QString &  channelId,
const QString &  mid,
const QString &  sdp 
)
signal

sigCandiate

Parameters
user
idchannel id
mid
sdp

◆ sigDescription

void CIceSignal::sigDescription ( const QString &  fromUser,
const QString &  toUser,
const QString &  channelId,
const QString &  type,
const QString &  sdp 
)
signal

sigDescription

Parameters
user
idchannel id
type
sdp

◆ sigOffer

void CIceSignal::sigOffer ( const QString &  fromUser,
const QString &  toUser,
const QString &  channelId,
const QString &  type,
const QString &  sdp 
)
signal

sigOffer

Parameters
user
idchannel id

Member Data Documentation

◆ m_Log

QLoggingCategory CIceSignal::m_Log
protected

Definition at line 90 of file IceSignal.h.


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