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