MessHead Struct Reference

This header is sent by the TCPSocket_transfer to allow for more efficient writev calls. More...

#include <artdaq/TransferPlugins/detail/SRSockets.hh>

List of all members.

Public Types

enum  MessType {
  connect_v0 = 0, data_v0, data_more_v0, stop_v0,
  routing_v0
}
 

The Message Type.

More...

Public Attributes

uint8_t endian
 0=little(intel), 1=big
MessType message_type
 Message Type.
int64_t source_id
 Rank of the source.
union {
   uint32_t   conn_magic
 unsigned first is better for MessHead initializer: {0,0,my_node_idx_,CONN_MAGIC}
   int32_t   byte_count
 use CONN_MAGIC for connect_v0, data that follow for data_v0 (and 0 lenght data)
}; 

Detailed Description

This header is sent by the TCPSocket_transfer to allow for more efficient writev calls.

Definition at line 15 of file SRSockets.hh.


Member Enumeration Documentation

The Message Type.

Only add to the end!

Definition at line 24 of file SRSockets.hh.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator

Generated on 16 Aug 2017 for artdaq by  doxygen 1.6.1