#include <socks5bytestreammanager.h>
Inherits IqHandler.
Inheritance diagram for SOCKS5BytestreamManager:

Public Types | |
| enum | S5BMode { S5BTCP } |
Public Member Functions | |
| SOCKS5BytestreamManager (ClientBase *parent, BytestreamHandler *s5bh) | |
| virtual | ~SOCKS5BytestreamManager () |
| void | setStreamHosts (StreamHostList hosts) |
| void | addStreamHost (const JID &jid, const std::string &host, int port) |
| bool | requestSOCKS5Bytestream (const JID &to, S5BMode mode, const std::string &sid=EmptyString) |
| bool | dispose (SOCKS5Bytestream *s5b) |
| void | acceptSOCKS5Bytestream (const std::string &sid) |
| void | rejectSOCKS5Bytestream (const std::string &sid) |
| void | registerBytestreamHandler (BytestreamHandler *s5bh) |
| void | removeBytestreamHandler () |
| void | registerSOCKS5BytestreamServer (SOCKS5BytestreamServer *server) |
| void | removeSOCKS5BytestreamServer () |
| virtual bool | handleIq (const IQ &iq) |
| virtual void | handleIqID (const IQ &iq, int context) |
Definition at line 50 of file socks5bytestreammanager.h.
|
|
Supported transport layer protocols. Definition at line 60 of file socks5bytestreammanager.h. |
|
||||||||||||
|
Constructs a new SOCKS5BytestreamManager.
Definition at line 30 of file socks5bytestreammanager.cpp. |
|
|
Virtual destructor. Definition at line 37 of file socks5bytestreammanager.cpp. |
|
|
Use this function to accept an incoming bytestream.
Definition at line 238 of file socks5bytestreammanager.cpp. |
|
||||||||||||||||
|
Adds one StreamHost to the list of StreamHosts.
Definition at line 58 of file socks5bytestreammanager.cpp. |
|
|
To get rid of a bytestream (i.e., close and delete it), call this function. You should not use the bytestream any more. The remote entity will be notified about the closing of the stream.
Definition at line 390 of file socks5bytestreammanager.cpp. |
|
|
Reimplement this function if you want to be notified about incoming IQs.
Implements IqHandler. Definition at line 154 of file socks5bytestreammanager.cpp. |
|
||||||||||||
|
Reimplement this function if you want to be notified about incoming IQs with a specific value of the
Implements IqHandler. Definition at line 303 of file socks5bytestreammanager.cpp. |
|
|
Use this function to register an object that will receive new incoming bytestream requests from the SOCKS5BytestreamManager. Only one BytestreamHandler can be registered at any one time.
Definition at line 135 of file socks5bytestreammanager.h. |
|
|
Tells the SOCKS5BytestreamManager which SOCKS5BytestreamServer handles peer-2-peer SOCKS5 bytestreams.
Definition at line 149 of file socks5bytestreammanager.h. |
|
|
Use this function to reject an incoming bytestream.
Definition at line 252 of file socks5bytestreammanager.cpp. |
|
|
Removes the registered BytestreamHandler. Definition at line 141 of file socks5bytestreammanager.h. |
|
|
Un-registers any local SOCKS5BytestreamServer. Definition at line 154 of file socks5bytestreammanager.h. |
|
||||||||||||||||
|
This function requests a bytestream with the remote entity. Data can only be sent over an open stream. Use isOpen() to find out what the stream's current state is. However, successful opening/initiation will be announced by means of the BytestreamHandler interface. Multiple bytestreams (even per JID) can be initiated without waiting for success.
Definition at line 67 of file socks5bytestreammanager.cpp. |
|
|
Sets a list of StreamHosts that will be used for subsequent bytestream requests.
Definition at line 84 of file socks5bytestreammanager.h. |
1.4.1