MakeEvent.1-Msg
type t
The type of the messages.
val to_json : t -> string
Convert a message to a JSON string.
the message to be converted
val get_size : t -> Size.t
Returns the size of a message.
the message whose size we want
val processing_time : t -> int
Returns the amount of time required to process a message, in millisseconds.
the message whose processing time we want
val identifier : t -> int
Returns an integer that identifies the content of a message.
a message