Example #1
0
 public BaseBandFrame(
     ModeAdaptationHeaderL3 modeAdaptationHeaderL3,
     BaseBandHeader baseBandHeader,
     ImmutableList <GsePacket> userPackets,
     L7PDU l7PDU)
 {
     this.ModeAdaptationHeaderL3 =
         modeAdaptationHeaderL3 ?? throw new ArgumentNullException(nameof(modeAdaptationHeaderL3));
     this.BaseBandHeader = baseBandHeader ?? throw new ArgumentNullException(nameof(baseBandHeader));
     this.UserPackets    = userPackets ?? throw new ArgumentNullException(nameof(userPackets));
     this.L7PDU          = l7PDU ?? throw new ArgumentNullException(nameof(l7PDU));
 }
Example #2
0
 public ReassembledStreamPduVm(IWindsorContainer applicationWindsorContainer, L7PDU l7Pdu, Encoding encoding) : base(applicationWindsorContainer)
 {
     this.l7Pdu             = l7Pdu;
     this._encoding         = encoding;
     this.EncapsulatedModel = l7Pdu;
 }