Ejemplo n.º 1
0
 public NmsTransactionInfo(NmsSessionId sessionId, NmsTransactionId transactionId)
 {
     this.SessionId = sessionId ?? throw new ArgumentNullException(nameof(sessionId), "Session ID cannot be null");
     this.Id        = transactionId ?? throw new ArgumentNullException(nameof(transactionId), "Transaction ID cannot be null");
 }
Ejemplo n.º 2
0
 public NmsProducerId(NmsSessionId sessionId, long producerId)
 {
     this.SessionId = sessionId ?? throw new ArgumentNullException(nameof(sessionId), "Session ID cannot be null");
     this.Value     = producerId;
 }
Ejemplo n.º 3
0
 protected bool Equals(NmsSessionId other)
 {
     return(Equals(ConnectionId, other.ConnectionId) && Value == other.Value);
 }