Beispiel #1
0
 public TDSPacketHeader(TDSMessageType type, TDSMessageStatus status, ushort spid = 0x0000, byte packet = 0x00, byte window = 0x00)
 {
     Type   = type;
     Status = status;
     SPID   = spid;
     Packet = packet;
     Window = window;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TDSPacketHeader" /> class.
 /// </summary>
 /// <param name="type">TDS Message Type</param>
 /// <param name="status">TDS Message Status</param>
 /// <param name="spid">SPID number</param>
 /// <param name="packet">Packet number</param>
 /// <param name="window">Window number</param>
 public TDSPacketHeader(TDSMessageType type, TDSMessageStatus status, ushort spid = 0x0000, byte packet = 0x00, byte window = 0x00)
 {
     this.Type   = type;
     this.Status = status;
     this.SPID   = spid;
     this.Packet = packet;
     this.Window = window;
 }