$treeview $search $mathjax $extrastylesheet
artdaq  v3_04_01
$projectbrief
$projectbrief
$searchbox

NetMonTransportServiceInterface Class Reference

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

List of all members.

Public Member Functions

virtual ~NetMonTransportServiceInterface ()
 Default virtual destructor.
virtual void connect ()=0
 Connect the NetMonTransportService.
virtual void disconnect ()=0
 Disconnect the NetMonTransportService.
virtual void listen ()=0
 Listen for new connections.
virtual void sendMessage (uint64_t sequenceId, uint8_t messageType, TBufferFile &msg)=0
 Send a message.
virtual void receiveMessage (TBufferFile *&msg)=0
 Receive a message.
virtual void receiveInitMessage (TBufferFile *&msg)=0
 Receive the init message.

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] msg ROOT message data

Implemented in NetMonTransportService.

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

Receive a message.

Parameters:
[out] msg ROOT message data

Implemented in NetMonTransportService.

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

Send a message.

Parameters:
sequenceId Sequence ID of Fragment wrapping the message
messageType Fragment type of Fragment wrapping the message
msg ROOT data to send

Implemented in NetMonTransportService.


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

Generated on 29 Mar 2019 for artdaq by  doxygen 1.6.1