Beispiel #1
0
 public NackMessage(long id, NackTypes type, int errorcode)
 {
     _id        = id;
     _type      = type;
     _errorCode = errorcode;
 }
Beispiel #2
0
 /// <summary>
 /// Builds an NACK message to acknowledge a message with a negative response
 /// </summary>
 /// <param name="id">ID of the message to acknowledge</param>
 /// <param name="type">Type of the not-acknowledge message</param>
 public NackMessage(long id, NackTypes type)
 {
     _id        = id;
     _type      = type;
     _errorCode = Int32.MinValue;
 }