1#ifndef __JNET__JLIGIEROBJECTITERATOR__ 
    2#define __JNET__JLIGIEROBJECTITERATOR__ 
   19namespace JPP { 
using namespace JNET; }
 
   86        for (const_iterator channel = this->begin(); channel != this->end(); ++channel) {
 
   87          if (!channel->isReady()) {
 
   94          for (
iterator channel = this->begin(); channel != this->end(); ) {
 
  102                if (channel->isReady()) {
 
  104                  if (channel->prefix.getTag() == 
getTag<T>()) {
 
  106                    channel->seekg(
sizeof(
JPrefix));
 
  120              catch(
const exception& error) {
 
  124                channel = this->erase(channel);
 
 
 
int getFileDescriptor() const
Get file descriptor.
 
Abstract object iterator.
 
Object iteration through ControlHost server.
 
JLigierObjectIterator(const int port, const int backlog, const int buffer_size=262144, const int timeout_us=10)
Constructor.
 
virtual bool setObject(T &object) override
Set object.
 
int getSize() const
Get size.
 
Wrapper class for select call.
 
void setReaderMask(const JAbstractFile &file)
Set reader mask.
 
bool hasReaderMask(const JAbstractFile &file) const
Has reader file.
 
void setReceiveBufferSize(const int size)
Set receive buffer size.
 
void setKeepAlive(const bool on)
Set keep alive of socket.
 
void setNonBlocking(const bool on)
Set non-blocking of I/O.
 
int getSizeOfPacket(const KM3NETDAQ::JDAQAbstractPreamble &preamble)
Get size of packeet.
 
JSocketInputChannel< JPrefix_t > JSocketInputChannel_t
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).