Home · All Classes · All Namespaces · Modules · Functions · Files |
The PendingStreamTubeConnection class represents an asynchronous operation for accepting an incoming stream tube. More...
#include <TelepathyQt4/PendingStreamTubeConnection>
Inherits Tp::PendingOperation.
The PendingStreamTubeConnection class represents an asynchronous operation for accepting an incoming stream tube.
Tp::PendingStreamTubeConnection::~PendingStreamTubeConnection | ( | ) | [virtual] |
Class destructor.
SocketAddressType Tp::PendingStreamTubeConnection::addressType | ( | ) | const |
Return the type of the opened stream tube socket.
QPair< QHostAddress, quint16 > Tp::PendingStreamTubeConnection::ipAddress | ( | ) | const |
Return the IP address/port combination of the opened stream tube socket.
This method will return a meaningful value only if the incoming stream tube was accepted as a TCP socket.
QString Tp::PendingStreamTubeConnection::localAddress | ( | ) | const |
Return the local address of the opened stream tube socket.
This method will return a meaningful value only if the incoming stream tube was accepted as an Unix socket.
bool Tp::PendingStreamTubeConnection::requiresCredentials | ( | ) | const |
Return whether sending a credential byte once connecting to the socket is required.
Note that if this method returns true
, one should send a SCM_CREDS or SCM_CREDENTIALS and the credentialByte() once connected. If SCM_CREDS or SCM_CREDENTIALS cannot be sent, the credentialByte() should still be sent.
true
if sending credentials is required, false
otherwise.uchar Tp::PendingStreamTubeConnection::credentialByte | ( | ) | const |
Return the credential byte to send once connecting to the socket if requiresCredentials() is true
.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation |
Telepathy-Qt4 0.6.5
|