The QXmppOutgoingServer class represents an outgoing XMPP stream to another XMPP server.  
 More...
#include <QXmppOutgoingServer.h>
 | 
| 
void  | dialbackResponseReceived (const QXmppDialback &response) | 
|   | This signal is emitted when a dialback verify response is received. 
  | 
|   | 
| 
void  | connected () | 
|   | This signal is emitted when the stream is connected. 
  | 
|   | 
| 
void  | disconnected () | 
|   | This signal is emitted when the stream is disconnected. 
  | 
|   | 
| 
void  | setGauge (const QString &gauge, double value) | 
|   | Sets the given gauge to value. 
  | 
|   | 
| 
void  | logMessage (QXmppLogger::MessageType type, const QString &msg) | 
|   | This signal is emitted to send logging messages. 
  | 
|   | 
| 
void  | updateCounter (const QString &counter, qint64 amount=1) | 
|   | Updates the given counter by amount. 
  | 
|   | 
The QXmppOutgoingServer class represents an outgoing XMPP stream to another XMPP server. 
 
◆ QXmppOutgoingServer()
      
        
          | QXmppOutgoingServer::QXmppOutgoingServer  | 
          ( | 
          const QString &  | 
          domain,  | 
        
        
           | 
           | 
          QObject *  | 
          parent  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructs a new outgoing server-to-server stream.
- Parameters
 - 
  
    | domain | the local domain  | 
    | parent | the parent object  | 
  
   
 
 
◆ ~QXmppOutgoingServer()
      
        
          | QXmppOutgoingServer::~QXmppOutgoingServer  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ connectToHost
  
  
      
        
          | void QXmppOutgoingServer::connectToHost  | 
          ( | 
          const QString &  | 
          domain | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Attempts to connect to an XMPP server for the specified domain.
- Parameters
 - 
  
  
 
 
 
◆ isConnected()
  
  
      
        
          | bool QXmppOutgoingServer::isConnected  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Returns true if the socket is connected and authentication succeeded. 
Reimplemented from QXmppStream.
 
 
◆ queueData
  
  
      
        
          | void QXmppOutgoingServer::queueData  | 
          ( | 
          const QByteArray &  | 
          data | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Sends or queues data until connected.
- Parameters
 - 
  
  
 
 
 
◆ setLocalStreamKey()
      
        
          | void QXmppOutgoingServer::setLocalStreamKey  | 
          ( | 
          const QString &  | 
          key | ) | 
           | 
        
      
 
Sets the stream's local dialback key.
- Parameters
 - 
  
  
 
 
 
◆ setVerify()
      
        
          | void QXmppOutgoingServer::setVerify  | 
          ( | 
          const QString &  | 
          id,  | 
        
        
           | 
           | 
          const QString &  | 
          key  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Sets the stream's verification information.
- Parameters
 - 
  
  
 
 
 
The documentation for this class was generated from the following files: