artdaq  v3_05_00
NetMonTransportServiceInterface Class Referenceabstract

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>

Inheritance diagram for NetMonTransportServiceInterface:
NetMonTransportService

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...
 
virtual void receiveInitMessage (TBufferFile *&msg)=0
 Receive the init message. More...
 

Detailed Description

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.

Member Function Documentation

virtual void NetMonTransportServiceInterface::connect ( )
pure virtual

Connect the NetMonTransportService.

This is a pure virtual function, derived classes must reimplement it

Implemented in NetMonTransportService.

virtual void NetMonTransportServiceInterface::disconnect ( )
pure virtual

Disconnect the NetMonTransportService.

This is a pure virtual function, derived classes must reimplement it

Implemented in NetMonTransportService.

virtual void NetMonTransportServiceInterface::listen ( )
pure virtual

Listen for new connections.

This is a pure virtual function, derived classes must reimplement it

Implemented in NetMonTransportService.

virtual void NetMonTransportServiceInterface::receiveInitMessage ( TBufferFile *&  msg)
pure virtual

Receive the init message.

Parameters
[out]msgROOT message data

Implemented in NetMonTransportService.

virtual void NetMonTransportServiceInterface::receiveMessage ( TBufferFile *&  msg)
pure virtual

Receive a message.

Parameters
[out]msgROOT message data

Implemented in NetMonTransportService.

virtual void NetMonTransportServiceInterface::sendMessage ( uint64_t  sequenceId,
uint8_t  messageType,
TBufferFile &  msg 
)
pure virtual

Send a message.

Parameters
sequenceIdSequence ID of Fragment wrapping the message
messageTypeFragment type of Fragment wrapping the message
msgROOT data to send

Implemented in NetMonTransportService.


The documentation for this class was generated from the following file: