KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > quickserver > net > server > ClientIdentifier


1 /*
2  * This file is part of the QuickServer library
3  * Copyright (C) 2003-2005 QuickServer.org
4  *
5  * Use, modification, copying and distribution of this software is subject to
6  * the terms and conditions of the GNU Lesser General Public License.
7  * You should have received a copy of the GNU LGP License along with this
8  * library; if not, you can download a copy from <http://www.quickserver.org/>.
9  *
10  * For questions, suggestions, bug-reports, enhancement-requests etc.
11  * visit http://www.quickserver.org
12  *
13  */

14
15 package org.quickserver.net.server;
16
17 import java.io.*;
18 import java.util.*;
19 import org.quickserver.util.pool.QSObjectPool;
20
21 /**
22  * Client Identifier interface.
23  * @author Akshathkumar Shetty
24  * @since 1.4.5
25  */

26 public interface ClientIdentifier {
27     public void setQuickServer(QuickServer quickserver);
28     public void setClientHandlerPool(QSObjectPool clientHandlerPool);
29     public Object JavaDoc getObjectToSynchronize();
30
31     public Iterator findAllClient();
32
33     public ClientHandler findFirstClientById(String JavaDoc id);
34     public Iterator findAllClientById(String JavaDoc pattern);
35
36     public ClientHandler findClientByKey(String JavaDoc key);
37     public Iterator findAllClientByKey(String JavaDoc pattern);
38 }
39
Popular Tags