mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
26 lines
551 B
Protocol Buffer
26 lines
551 B
Protocol Buffer
syntax = "proto3";
|
|
option optimize_for = SPEED;
|
|
|
|
package fair.mq.ofi;
|
|
|
|
message DataAddressAnnouncement {
|
|
uint32 ipv4 = 1; // in_addr_t from <netinet/in.h>
|
|
uint32 port = 2; // in_port_t from <netinet/in.h>
|
|
}
|
|
|
|
message PostBuffer {
|
|
uint64 size = 1; // buffer size (size_t)
|
|
}
|
|
|
|
message PostBufferAcknowledgement {
|
|
uint64 size = 1; // size_t
|
|
}
|
|
|
|
message ControlMessage {
|
|
oneof type {
|
|
DataAddressAnnouncement data_address_announcement = 1;
|
|
PostBuffer post_buffer = 2;
|
|
PostBufferAcknowledgement post_buffer_acknowledgement = 3;
|
|
}
|
|
}
|