Class MessageExternalizeUtils

  • All Implemented Interfaces:
    ExternalizeConstants

    public class MessageExternalizeUtils
    extends Object
    implements ExternalizeConstants
    Utility to read/write the Message of a MessageContext Message Object Format. Format := Prolog {DataBlocks} EndBlocks Prolog := NAME (UTF) REVISION (INT) ACTIVE (BOOL) [OPTIMIZED (BOOL)] [OPTIMIZED_CONTENT_TYPE (UTF)] <--- If OPTIMIZED=TRUE [CHARSET (UTF)] [NAMESPACE (UTF)] DataBlock := SIZE (INT >0) DATA (BYTES) EndBlocks SIZE (INT) {0 indicates end -1 indicates failure}