1 /************************************************************
2 * Copyright *
3 * Portions of this software are Copyright (c) 1993 - 2002, *
4 * Chad Z. Hower (Kudzu) and the Indy Pit Crew *
5 * - http://www.nevrona.com/Indy/ *
6 ************************************************************/
7 package org.indy;
8
9 /***
10 * DOCUMENT ME!
11 *
12 * @version $Revision$
13 * @author $author$
14 */
15 public interface PeerThreadManager {
16 /***
17 * DOCUMENT ME!
18 *
19 * @param factory DOCUMENT ME!
20 */
21 void setThreadFactory(PeerThreadFactory factory);
22
23 /***
24 * DOCUMENT ME!
25 *
26 * @return DOCUMENT ME!
27 */
28 PeerThreadFactory getThreadFactory();
29
30 /***
31 * DOCUMENT ME!
32 *
33 * @return DOCUMENT ME!
34 */
35 PeerThread getThread();
36
37 /***
38 * DOCUMENT ME!
39 *
40 * @param thread DOCUMENT ME!
41 *
42 * @throws InterruptedException DOCUMENT ME!
43 */
44 void releaseThread(PeerThread thread) throws InterruptedException;
45
46 /***
47 * DOCUMENT ME!
48 *
49 * @throws InterruptedException DOCUMENT ME!
50 */
51 void terminateThreads() throws InterruptedException;
52
53 /***
54 * DOCUMENT ME!
55 *
56 * @return DOCUMENT ME!
57 */
58 IndyThread.Priority getPriority();
59
60 /***
61 * DOCUMENT ME!
62 *
63 * @param p DOCUMENT ME!
64 */
65 void setPriority(IndyThread.Priority p);
66 }
This page was automatically generated by Maven