Exemplo n.º 1
0
 /// <summary>
 /// Constructor of the class
 /// </summary>
 /// <param name="nodeID">Identificator of the sender</param>
 /// <param name="query">StoreQuery originating this message</param>
 /// <param name="accept">Param that indicates if the node has accepted the request to store</param>
 /// <param name="nodeEndpoint">Address of the sender node</param>
 public StoreResponse(ID nodeID, StoreQuery query, bool accept, Uri nodeEndpoint) : base(nodeID, query, nodeEndpoint)
 {
     sendData = accept;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor of the class
 /// </summary>
 /// <param name="nodeID">Identificator of the sender</param>
 /// <param name="query">StoreQuery originating this message</param>
 /// <param name="accept">Param that indicates if the node has accepted the request to store</param>
 /// <param name="nodeEndpoint">Address of the sender node</param>
 public StoreResponse(ID nodeID, StoreQuery query, bool accept, Uri nodeEndpoint)
     : base(nodeID, query, nodeEndpoint)
 {
     sendData = accept;
 }