示例#1
0
 /// <summary>
 /// Constructs this SubMessageHeader with given kind and
 /// DEFAULT_ENDIANESS_FLAG. Length of the SubMessage is Set to 0. Length will
 /// be calculated during marshalling of the Message.
 /// </summary>
 /// <param name="kind"></param>
 public SubMessageHeader(SubMessageKind kind)
     : this(kind, DEFAULT_ENDIANNESS_FLAG)
 {
 }
示例#2
0
 /// <summary>
 /// Constructs this SubMessageHeader with given kind and flags. Length of the
 /// SubMessage is Set to 0. Length will be calculated during marshalling of
 /// the Message.
 /// </summary>
 /// <param name="kind"></param>
 /// <param name="flags"></param>
 public SubMessageHeader(SubMessageKind kind, byte flags)
 {
     this.kind = kind;
     this.flags.Value = flags;
     this.submessageLength = 0; // Length will be calculated at runtime 
 }
示例#3
0
 public SubMessage(SubMessageKind k)
 {
     header_ = new SubMessageHeader(k);
 }