Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/relayirc/chatengine/ChannelSearchListener.java


1   
2   /* 
3    * FILE: ChannelSearchListener.java 
4    * 
5    * The contents of this file are subject to the Mozilla Public License
6    * Version 1.0 (the "License"); you may not use this file except in
7    * compliance with the License. You may obtain a copy of the License at
8    * http://www.mozilla.org/MPL/
9    * 
10   * Software distributed under the License is distributed on an "AS IS"
11   * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12   * License for the specific language governing rights and limitations
13   * under the License.
14   * 
15   * The Original Code is Relay IRC chat client.
16   * 
17   * The Initial Developer of the Original Code is David M. Johnson.
18   * Portions created by David M. Johnson are Copyright (C) 1998. 
19   * All Rights Reserved.
20   *
21   * Contributor(s): No contributors to this file.
22   */
23  package org.relayirc.chatengine;
24  
25  /** 
26   * Inteface for listening to progress of a channel search. Implement
27   * this interface to be notified of beginning of search, each channel
28   * that is found to meet the search criteria and the end of the search.
29   */
30  public interface ChannelSearchListener {
31  
32     /** Called when channel is found that meets search criteria. */
33    public void searchFound(Channel chan);
34  
35     /** Called when seach begins. */
36     public void searchStarted(int channels);
37  
38     /** Called when seach ends. */
39     public void searchEnded();
40  }