32 #if defined(ONIXS_B3_BOE_CXX11) 35 template <
typename Message>
38 static constexpr
bool UseCustomValue =
true;
44 Message::blockLength(Message::Schema::Version)
46 + Message::getMinimalVariableFieldsSize(Message::Schema::Version);
51 template <
typename Message>
54 static constexpr
bool UseCustomValue =
true;
60 Message::blockLength(Message::Schema::Version)
61 + MessageHeader::Size;
66 template <
typename Message>
struct MaxMessageSizeTraits;
71 struct MaxMessageSizeTraits<Negotiate1> : HasEmptyCredentials<Negotiate1> {};
75 struct MaxMessageSizeTraits<Establish4> : HasEmptyCredentials<Establish4> {};
79 struct MaxMessageSizeTraits<Sequence9> : HasNoVariableFieldsOrGroups<Sequence9> {};
83 struct MaxMessageSizeTraits<Terminate7> : HasNoVariableFieldsOrGroups<Terminate7> {};
87 struct MaxMessageSizeTraits<Retransmission13> : HasNoVariableFieldsOrGroups<Retransmission13> {};
#define ONIXS_B3_BOE_MESSAGING_NAMESPACE_END
Assume the message has a constant size.
Assume the credentials filed of the message is empty.
static constexpr UInt16 calculateMaxMessageSize()
#define ONIXS_B3_BOE_MESSAGING_NAMESPACE_BEGIN
static constexpr UInt16 calculateMaxMessageSize()