Ejemplo n.º 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];
     }
 }
Ejemplo n.º 2
0
 public ControlPacket(PacketBoundryFlagEnum pbf, GroupIdentifierEnum groupIdentifier, byte opcodeIdentifier)
     : base(PacketTypeEnum.ControlCommand, pbf, (byte)groupIdentifier)
 {
     this.opcodeIdentifier = opcodeIdentifier;
 }
Ejemplo n.º 3
0
 public NotificationPacket(PacketBoundryFlagEnum pbf, GroupIdentifierEnum groupIdentifier, byte opcodeIdentifier)
     : base(PacketTypeEnum.ControlNotification, pbf, (byte)groupIdentifier)
 {
     this.OpcodeIdentifier = opcodeIdentifier;
 }