14 #include <QtCore/QObject>
15 #include <QtCore/QString>
21 class HistogramBackend;
size_t _transferredBytes
the amount of bytes transferred
void reloadIni() const
reload .ini file
void quitServer() const
tell the server to quit
virtual ~TCPClient()
destructor
std::tr1::shared_ptr< self_type > shared_pointer
a shared pointer of this class
contains the base class data sources
void broadcastCommand(const QString &command) const
broadcast a command to all processors in the server
QString type() const
return the type of source we are
void setServer(const QString &serverstring)
change the server to connect to
base class for data sources
void clearHistogram(QString key) const
clear the histogram of a processor
QStringList resultNames()
retrieve the list of available histograms
size_t receivedBytes() const
retrieve the transferred bytes
std::string _server
the server string
the tcp client that connects to the cass server
void sendCommandTo(const QString &key, const QString &command) const
broadcast a command to all processors in the server
QVector< result_t::shared_pointer > results(const QStringList &list)
retrieve a list of results all with the same id
result_t::shared_pointer result(const QString &key, quint64 id=0)
retrieve a specific result
TCPClient()
default constructor