Exemplo n.º 1
0
 public SendQueryEventArgs(IPEndPoint endpoint, QueryMessage query, ResponseMessage response)
     : base(null)
 {
     this.endpoint = endpoint;
     this.query = query;
     this.response = response;
 }
Exemplo n.º 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));
 }