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