public SendQueryEventArgs(IPEndPoint endpoint, QueryMessage query, ResponseMessage response)
     : base(null)
 {
     this.endpoint = endpoint;
     this.query = query;
     this.response = response;
 }
Exemple #2
0
 private void RaiseMessageSent(IPEndPoint endpoint, QueryMessage query, ResponseMessage response)
 {
     EventHandler<SendQueryEventArgs> h = QuerySent;
     if (h != null)
         h(this, new SendQueryEventArgs(endpoint, query, response));
 }