Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
CIceSignalQxmpp Class Reference

QXMPP implements ICE signaling class. More...

#include <IceSignalQxmpp.h>

Inheritance diagram for CIceSignalQxmpp:
CIceSignal

Signals

void sigSendPackage (CIceSignalQXmppIq iq)
 
- Signals inherited from CIceSignal
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

 CIceSignalQxmpp (QObject *parent=nullptr)
 
virtual int Open (const QString &szServer, quint16 nPort, const QString &user=QString(), const QString &password=QString()) override
 
virtual int Close () override
 
virtual bool IsConnected () override
 
virtual int SendDescription (const QString &toUser, const QString &channelId, const rtc::Description &description, const QString &fromUser) override
 
virtual int SendCandidate (const QString &toUser, const QString &channelId, const rtc::Candidate &candidate, const QString &fromUser) override
 
bool proecssIq (CIceSignalQXmppIq iq)
 
- Public Member Functions inherited from CIceSignal
 CIceSignal (QObject *parent=nullptr)
 

Private Slots

void slotError (QXmppClient::Error e)
 
void slotSendPackage (CIceSignalQXmppIq iq)
 

Private Attributes

QXmppClient m_Client
 
CIceSignalQXmppManager m_Manager
 

Additional Inherited Members

- Protected Attributes inherited from CIceSignal
QLoggingCategory m_Log
 

Detailed Description

QXMPP implements ICE signaling class.

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

The signal is base on libdatachannel

Definition at line 22 of file IceSignalQxmpp.h.

Constructor & Destructor Documentation

◆ CIceSignalQxmpp()

CIceSignalQxmpp::CIceSignalQxmpp ( QObject *  parent = nullptr)
explicit

Definition at line 9 of file IceSignalQxmpp.cpp.

Member Function Documentation

◆ Close()

int CIceSignalQxmpp::Close ( )
overridevirtual

Implements CIceSignal.

Definition at line 75 of file IceSignalQxmpp.cpp.

◆ IsConnected()

bool CIceSignalQxmpp::IsConnected ( )
overridevirtual

Implements CIceSignal.

Definition at line 81 of file IceSignalQxmpp.cpp.

◆ Open()

int CIceSignalQxmpp::Open ( const QString &  szServer,
quint16  nPort,
const QString &  user = QString(),
const QString &  password = QString() 
)
overridevirtual

Implements CIceSignal.

Definition at line 33 of file IceSignalQxmpp.cpp.

◆ proecssIq()

bool CIceSignalQxmpp::proecssIq ( CIceSignalQXmppIq  iq)

Definition at line 86 of file IceSignalQxmpp.cpp.

◆ SendCandidate()

int CIceSignalQxmpp::SendCandidate ( const QString &  toUser,
const QString &  channelId,
const rtc::Candidate &  candidate,
const QString &  fromUser 
)
overridevirtual

Implements CIceSignal.

Definition at line 143 of file IceSignalQxmpp.cpp.

◆ SendDescription()

int CIceSignalQxmpp::SendDescription ( const QString &  toUser,
const QString &  channelId,
const rtc::Description &  description,
const QString &  fromUser 
)
overridevirtual

Implements CIceSignal.

Definition at line 128 of file IceSignalQxmpp.cpp.

◆ slotError

void CIceSignalQxmpp::slotError ( QXmppClient::Error  e)
privateslot

Definition at line 164 of file IceSignalQxmpp.cpp.

◆ slotSendPackage

void CIceSignalQxmpp::slotSendPackage ( CIceSignalQXmppIq  iq)
privateslot

Definition at line 159 of file IceSignalQxmpp.cpp.

Member Data Documentation

◆ m_Client

QXmppClient CIceSignalQxmpp::m_Client
private

Definition at line 54 of file IceSignalQxmpp.h.

◆ m_Manager

CIceSignalQXmppManager CIceSignalQxmpp::m_Manager
private

Definition at line 55 of file IceSignalQxmpp.h.


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