1 #ifndef EUDAQ_INCLUDED_TransportNULL
2 #define EUDAQ_INCLUDED_TransportNULL
4 #include "eudaq/TransportFactory.hh"
18 virtual void SendPacket(
const unsigned char *data,
size_t len,
20 bool duringconnect =
false);
23 virtual std::string ConnectionString()
const;
24 virtual bool IsNull()
const {
return true; }
25 static const std::string name;
35 virtual void SendPacket(
const unsigned char *data,
size_t len,
39 virtual bool IsNull()
const {
return true; }
46 #endif // EUDAQ_INCLUDED_TransportNULL
Definition: TransportNULL.hh:12
virtual void SendPacket(const unsigned char *data, size_t len, const ConnectionInfo &id=ConnectionInfo::ALL, bool=false)
Definition: TransportNULL.cc:25
virtual void ProcessEvents(int timeout=-1)
Definition: TransportNULL.cc:28
virtual void SendPacket(const unsigned char *data, size_t len, const ConnectionInfo &id=ConnectionInfo::ALL, bool duringconnect=false)
Definition: TransportNULL.cc:16
virtual void Close(const ConnectionInfo &id)
Definition: TransportNULL.cc:14
Definition: TransportServer.hh:10
Definition: TransportBase.hh:22
virtual void ProcessEvents(int timeout)
Definition: TransportNULL.cc:19
Definition: TransportClient.hh:9
Definition: TransportNULL.hh:30