The StreamTubeServer::Tube class represents a tube being handled by the server.  
 More...
#include <TelepathyQt/StreamTubeServer>
Inherits QPair< AccountPtr, OutgoingStreamTubeChannelPtr >.
The StreamTubeServer::Tube class represents a tube being handled by the server. 
 
◆ Tube() [1/3]
      
        
          | Tp::StreamTubeServer::Tube::Tube  | 
          ( | 
           | ) | 
           | 
        
      
 
Constructs a new invalid Tube instance. 
 
 
◆ Tube() [2/3]
      
        
          | Tp::StreamTubeServer::Tube::Tube  | 
          ( | 
          const AccountPtr &  | 
          account,  | 
        
        
           | 
           | 
          const OutgoingStreamTubeChannelPtr &  | 
          channel  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructs a Tube instance for the given tube channel originating from the given account.
- Parameters
 - 
  
    | account | A pointer to the account object.  | 
    | channel | A pointer to the tube channel object.  | 
  
   
 
 
◆ Tube() [3/3]
      
        
          | Tp::StreamTubeServer::Tube::Tube  | 
          ( | 
          const Tube &  | 
          other | ) | 
           | 
        
      
 
 
◆ ~Tube()
      
        
          | Tp::StreamTubeServer::Tube::~Tube  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ isValid()
  
  
      
        
          | bool Tp::StreamTubeServer::Tube::isValid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Return whether or not the tube is valid or is just the null object created using the default constructor.
- Returns
 true if valid, false otherwise. 
 
 
◆ operator=()
◆ account()
  
  
      
        
          | AccountPtr Tp::StreamTubeServer::Tube::account  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Return the account from which the tube originates.
- Returns
 - A pointer to the account object. 
 
 
 
◆ channel()
  
  
      
        
          | OutgoingStreamTubeChannelPtr Tp::StreamTubeServer::Tube::channel  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Return the actual tube channel.
- Returns
 - A pointer to the channel.