Exemple #1
0
 public ControlResponse(PacketBoundryFlagEnum pbf, GroupIdentifierEnum groupIdentifier, byte opcodeIdentifier)
     : base(PacketTypeEnum.ControlResponse, pbf, groupIdentifier, opcodeIdentifier)
 {
     if (payLoad == null || getPLL() == 0)
     {
         payLoad = new byte[1];
     }
 }
 public ControlPacket(PacketBoundryFlagEnum pbf, GroupIdentifierEnum groupIdentifier, byte opcodeIdentifier)
     : base(PacketTypeEnum.ControlCommand, pbf, (byte)groupIdentifier)
 {
     this.opcodeIdentifier = opcodeIdentifier;
 }
Exemple #3
0
 public NotificationPacket(PacketBoundryFlagEnum pbf, GroupIdentifierEnum groupIdentifier, byte opcodeIdentifier)
     : base(PacketTypeEnum.ControlNotification, pbf, (byte)groupIdentifier)
 {
     this.OpcodeIdentifier = opcodeIdentifier;
 }