org.indy
Interface PeerThreadManager

All Known Implementing Classes:
AbstractPeerThreadManager, DefaultPeerThreadManager

public interface PeerThreadManager

DOCUMENT ME!

Version:
$Revision$
Author:
$author$

Method Summary
 IndyThread.Priority getPriority()
          DOCUMENT ME!
 PeerThread getThread()
          DOCUMENT ME!
 PeerThreadFactory getThreadFactory()
          DOCUMENT ME!
 void releaseThread(PeerThread thread)
          DOCUMENT ME!
 void setPriority(IndyThread.Priority p)
          DOCUMENT ME!
 void setThreadFactory(PeerThreadFactory factory)
          DOCUMENT ME!
 void terminateThreads()
          DOCUMENT ME!
 

Method Detail

setThreadFactory

public void setThreadFactory(PeerThreadFactory factory)
DOCUMENT ME!
Parameters:
factory - DOCUMENT ME!

getThreadFactory

public PeerThreadFactory getThreadFactory()
DOCUMENT ME!
Returns:
DOCUMENT ME!

getThread

public PeerThread getThread()
DOCUMENT ME!
Returns:
DOCUMENT ME!

releaseThread

public void releaseThread(PeerThread thread)
                   throws java.lang.InterruptedException
DOCUMENT ME!
Parameters:
thread - DOCUMENT ME!
Throws:
java.lang.InterruptedException - DOCUMENT ME!

terminateThreads

public void terminateThreads()
                      throws java.lang.InterruptedException
DOCUMENT ME!
Throws:
java.lang.InterruptedException - DOCUMENT ME!

getPriority

public IndyThread.Priority getPriority()
DOCUMENT ME!
Returns:
DOCUMENT ME!

setPriority

public void setPriority(IndyThread.Priority p)
DOCUMENT ME!
Parameters:
p - DOCUMENT ME!


Copyright © 2002-2002 IndyJ. All Rights Reserved.