14 #ifndef SOCKS5BYTESTREAM_H__
15 #define SOCKS5BYTESTREAM_H__
17 #include "bytestream.h"
19 #include "socks5bytestreammanager.h"
20 #include "connectiondatahandler.h"
27 class SOCKS5BytestreamDataHandler;
63 virtual bool connect();
79 virtual bool send(
const std::string& data );
110 virtual void handleReceivedData(
const ConnectionBase* connection,
const std::string& data );
120 LogSink& logInstance,
const JID& initiator,
const JID& target,
121 const std::string& sid );
136 #endif // SOCKS5BYTESTREAM_H__
An abstract base class for a connection.
An SOCKS5BytestreamManager dispatches SOCKS5 Bytestreams.
std::list< StreamHost > StreamHostList
This is an abstract base class to receive events from a ConnectionBase-derived object.
The namespace for the gloox library.
An abstraction of a single bytestream.
An implementation of a single SOCKS5 Bytestream (XEP-0065).
ConnectionBase * connectionImpl()
void setStreamHosts(const StreamHostList &hosts)
An implementation of log sink and source.