artdaq
v2_02_03
|
Interface for NetMonTranportService. This interface is declared to art as part of the required registration of an art Service. More...
#include <artdaq/ArtModules/NetMonTransportServiceInterface.h>
Public Member Functions | |
virtual | ~NetMonTransportServiceInterface ()=default |
Default virtual destructor. | |
virtual void | connect ()=0 |
Connect the NetMonTransportService. More... | |
virtual void | disconnect ()=0 |
Disconnect the NetMonTransportService. More... | |
virtual void | listen ()=0 |
Listen for new connections. More... | |
virtual void | sendMessage (uint64_t sequenceId, uint8_t messageType, TBufferFile &msg)=0 |
Send a message. More... | |
virtual void | receiveMessage (TBufferFile *&msg)=0 |
Receive a message. More... | |
Interface for NetMonTranportService. This interface is declared to art as part of the required registration of an art Service.
Definition at line 11 of file NetMonTransportServiceInterface.h.
|
pure virtual |
Connect the NetMonTransportService.
This is a pure virtual function, derived classes must reimplement it
Implemented in NetMonTransportService.
|
pure virtual |
Disconnect the NetMonTransportService.
This is a pure virtual function, derived classes must reimplement it
Implemented in NetMonTransportService.
|
pure virtual |
Listen for new connections.
This is a pure virtual function, derived classes must reimplement it
Implemented in NetMonTransportService.
|
pure virtual |
|
pure virtual |
Send a message.
sequenceId | Sequence ID of Fragment wrapping the message |
messageType | Fragment type of Fragment wrapping the message |
msg | ROOT data to send |
Implemented in NetMonTransportService.