- All Implemented Interfaces:
- IMessage, java.io.Serializable, java.lang.Comparable<ProtocolDefinitionMessage>
public final class ProtocolDefinitionMessage
extends java.lang.Object
implements IMessage, java.lang.Comparable<ProtocolDefinitionMessage>, java.io.Serializable
This is a special message that contains the protocol definition
itself (this file). Because the binary protocol is not self-
describing (designed that way to be compact), one needs a
description of the protocol in order to parse a binary log
file. It is included as a message at the head of every binary
log file as a last-resort source of protocol format, which
could allow us to generate a parser for the rest of the
protocol based on this description, for very old log files.
(Hopefully we nevrer have to use this.)
- See Also:
- Serialized Form