1 #ifndef __JNET__JCONTROLHOSTOBJECTITERATOR__
2 #define __JNET__JCONTROLHOSTOBJECTITERATOR__
18 namespace JPP {
using namespace JNET; }
Abstract object iterator.
Auxiliary class for time values.
const JTimeval & getTimeval() const
Get time value.
static JTimeval max()
Get maximal time value.
Object iteration through ControlHost.
JControlHostObjectIterator(const JHostname &server, const JSubscription &subscription, JTimeval timeout=JTimeval::max())
Constructor.
virtual bool setObject(T &object) override
Set object.
JControlHostObjectIterator(const JHostname &server, JTimeval timeout=JTimeval::max(), bool all=true)
Constructor.
std::vector< char > buffer
int CheckHead(JPrefix &prefix, JTimeval timeout=JTimeval::min())
Check for header, without waiting.
int GetFullData(void *buffer, long long int length)
Receive data.
int Subscribe(const JSubscription &subscription)
Subscribe to single tag.
int getSize() const
Get size.
ControlHost subscription.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for hostname and port number.
Auxiliary class for all subscription.
Auxiliary class for any subscription.