Qt 4.8
|
#include <qsocks5socketengine_p.h>
Public Types | |
enum | Socks5Error { SocksFailure = 0x01, ConnectionNotAllowed = 0x02, NetworkUnreachable = 0x03, HostUnreachable = 0x04, ConnectionRefused = 0x05, TTLExpired = 0x06, CommandNotSupported = 0x07, AddressTypeNotSupported = 0x08, LastKnownError = AddressTypeNotSupported, UnknownError } |
enum | Socks5Mode { NoMode, ConnectMode, BindMode, UdpAssociateMode } |
enum | Socks5State { Uninitialized = 0, ConnectError, AuthenticationMethodsSent, Authenticating, AuthenticatingError, RequestMethodSent, RequestError, Connected, UdpAssociateSuccess, BindSuccess, ControlSocketError, SocksError, HostNameLookupError } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Additional Inherited Members | |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Definition at line 187 of file qsocks5socketengine_p.h.
Enumerator | |
---|---|
SocksFailure | |
ConnectionNotAllowed | |
NetworkUnreachable | |
HostUnreachable | |
ConnectionRefused | |
TTLExpired | |
CommandNotSupported | |
AddressTypeNotSupported | |
LastKnownError | |
UnknownError |
Definition at line 221 of file qsocks5socketengine_p.h.
Enumerator | |
---|---|
NoMode | |
ConnectMode | |
BindMode | |
UdpAssociateMode |
Definition at line 212 of file qsocks5socketengine_p.h.
Definition at line 194 of file qsocks5socketengine_p.h.
QSocks5SocketEnginePrivate::QSocks5SocketEnginePrivate | ( | ) |
Definition at line 521 of file qsocks5socketengine.cpp.
QSocks5SocketEnginePrivate::~QSocks5SocketEnginePrivate | ( | ) |
Definition at line 542 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::_q_controlSocketBytesWritten | ( | ) |
Definition at line 1219 of file qsocks5socketengine.cpp.
Referenced by initialize().
void QSocks5SocketEnginePrivate::_q_controlSocketConnected | ( | ) |
Definition at line 1160 of file qsocks5socketengine.cpp.
Referenced by initialize().
void QSocks5SocketEnginePrivate::_q_controlSocketDisconnected | ( | ) |
void QSocks5SocketEnginePrivate::_q_controlSocketError | ( | QAbstractSocket::SocketError | error | ) |
Definition at line 1233 of file qsocks5socketengine.cpp.
Referenced by initialize().
void QSocks5SocketEnginePrivate::_q_controlSocketReadNotification | ( | ) |
Definition at line 1171 of file qsocks5socketengine.cpp.
Referenced by initialize().
void QSocks5SocketEnginePrivate::_q_controlSocketStateChanged | ( | QAbstractSocket::SocketState | state | ) |
void QSocks5SocketEnginePrivate::_q_emitPendingConnectionNotification | ( | ) |
Definition at line 970 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::_q_emitPendingReadNotification | ( | ) |
Definition at line 919 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::_q_emitPendingWriteNotification | ( | ) |
Definition at line 949 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::_q_udpSocketReadNotification | ( | ) |
Definition at line 1282 of file qsocks5socketengine.cpp.
Referenced by initialize().
void QSocks5SocketEnginePrivate::checkForDatagrams | ( | ) | const |
Definition at line 1275 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::emitConnectionNotification | ( | ) |
Definition at line 978 of file qsocks5socketengine.cpp.
Referenced by parseAuthenticationMethodReply(), parseRequestMethodReply(), and reauthenticate().
void QSocks5SocketEnginePrivate::emitReadNotification | ( | ) |
Definition at line 938 of file qsocks5socketengine.cpp.
Referenced by _q_emitPendingReadNotification(), and parseRequestMethodReply().
void QSocks5SocketEnginePrivate::emitWriteNotification | ( | ) |
Definition at line 959 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::initialize | ( | Socks5Mode | socks5Mode | ) |
Definition at line 546 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::parseAuthenticatingReply | ( | ) |
Definition at line 788 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::parseAuthenticationMethodReply | ( | ) |
Definition at line 753 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::parseNewConnection | ( | ) |
void QSocks5SocketEnginePrivate::parseRequestMethodReply | ( | ) |
Definition at line 844 of file qsocks5socketengine.cpp.
void QSocks5SocketEnginePrivate::reauthenticate | ( | ) |
Definition at line 722 of file qsocks5socketengine.cpp.
Referenced by parseAuthenticatingReply(), and parseAuthenticationMethodReply().
void QSocks5SocketEnginePrivate::sendRequestMethod | ( | ) |
Definition at line 799 of file qsocks5socketengine.cpp.
Referenced by parseAuthenticatingReply(), and parseAuthenticationMethodReply().
void QSocks5SocketEnginePrivate::setErrorState | ( | Socks5State | state, |
const QString & | extraMessage = QString() |
||
) |
Definition at line 601 of file qsocks5socketengine.cpp.
Referenced by parseAuthenticationMethodReply(), parseRequestMethodReply(), reauthenticate(), and setErrorState().
void QSocks5SocketEnginePrivate::setErrorState | ( | Socks5State | state, |
Socks5Error | socks5error | ||
) |
Definition at line 676 of file qsocks5socketengine.cpp.
bool QSocks5SocketEnginePrivate::waitForConnected | ( | int | msecs, |
bool * | timedOut | ||
) |
Definition at line 1715 of file qsocks5socketengine.cpp.
QSocks5BindData* QSocks5SocketEnginePrivate::bindData |
Definition at line 271 of file qsocks5socketengine_p.h.
Referenced by initialize(), and parseRequestMethodReply().
QSocks5ConnectData* QSocks5SocketEnginePrivate::connectData |
Definition at line 267 of file qsocks5socketengine_p.h.
Referenced by _q_emitPendingReadNotification(), and initialize().
bool QSocks5SocketEnginePrivate::connectionNotificationPending |
Definition at line 283 of file qsocks5socketengine_p.h.
Referenced by _q_emitPendingConnectionNotification(), and emitConnectionNotification().
QSocks5Data* QSocks5SocketEnginePrivate::data |
Definition at line 266 of file qsocks5socketengine_p.h.
Referenced by _q_emitPendingReadNotification(), initialize(), parseAuthenticatingReply(), parseAuthenticationMethodReply(), parseRequestMethodReply(), reauthenticate(), sendRequestMethod(), and setErrorState().
bool QSocks5SocketEnginePrivate::exceptNotificationEnabled |
Definition at line 262 of file qsocks5socketengine_p.h.
Socks5Mode QSocks5SocketEnginePrivate::mode |
Definition at line 219 of file qsocks5socketengine_p.h.
Referenced by initialize(), parseRequestMethodReply(), QSocks5SocketEnginePrivate(), and sendRequestMethod().
QString QSocks5SocketEnginePrivate::peerName |
Definition at line 272 of file qsocks5socketengine_p.h.
Referenced by parseRequestMethodReply(), and sendRequestMethod().
QNetworkProxy QSocks5SocketEnginePrivate::proxyInfo |
Definition at line 260 of file qsocks5socketengine_p.h.
Referenced by initialize(), and reauthenticate().
|
mutable |
Definition at line 274 of file qsocks5socketengine_p.h.
Referenced by emitReadNotification().
bool QSocks5SocketEnginePrivate::readNotificationEnabled |
Definition at line 262 of file qsocks5socketengine_p.h.
Referenced by _q_emitPendingReadNotification(), and emitReadNotification().
bool QSocks5SocketEnginePrivate::readNotificationPending |
Definition at line 277 of file qsocks5socketengine_p.h.
Referenced by _q_emitPendingReadNotification(), and emitReadNotification().
int QSocks5SocketEnginePrivate::socketDescriptor |
Definition at line 264 of file qsocks5socketengine_p.h.
Socks5State QSocks5SocketEnginePrivate::socks5State |
Definition at line 210 of file qsocks5socketengine_p.h.
Referenced by parseAuthenticationMethodReply(), parseRequestMethodReply(), reauthenticate(), sendRequestMethod(), and setErrorState().
QSocks5UdpAssociateData* QSocks5SocketEnginePrivate::udpData |
Definition at line 269 of file qsocks5socketengine_p.h.
Referenced by initialize().
|
mutable |
Definition at line 275 of file qsocks5socketengine_p.h.
Referenced by emitWriteNotification().
bool QSocks5SocketEnginePrivate::writeNotificationEnabled |
Definition at line 262 of file qsocks5socketengine_p.h.
Referenced by _q_emitPendingWriteNotification(), and emitWriteNotification().
bool QSocks5SocketEnginePrivate::writeNotificationPending |
Definition at line 280 of file qsocks5socketengine_p.h.
Referenced by _q_emitPendingWriteNotification(), and emitWriteNotification().