org.indy
Class DefaultPeerThreadManager

java.lang.Object
  |
  +--org.indy.BaseComponent
        |
        +--org.indy.AbstractPeerThreadManager
              |
              +--org.indy.DefaultPeerThreadManager
All Implemented Interfaces:
PeerThreadManager

public class DefaultPeerThreadManager
extends AbstractPeerThreadManager
implements PeerThreadManager

Default implementation of PeerThreadManager

Author:
OTG

Constructor Summary
DefaultPeerThreadManager()
           
 
Method Summary
 PeerThread getThread()
          Gets the thread attribute of the IdThreadMgrDefault object
 void releaseThread(PeerThread thread)
          Description of the Method
 void terminateThreads()
          DOCUMENT ME!
 
Methods inherited from class org.indy.AbstractPeerThreadManager
createNewThread, getPriority, getThreadFactory, setPriority, setThreadFactory
 
Methods inherited from class org.indy.BaseComponent
getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.indy.PeerThreadManager
getPriority, getThreadFactory, setPriority, setThreadFactory
 

Constructor Detail

DefaultPeerThreadManager

public DefaultPeerThreadManager()
Method Detail

getThread

public PeerThread getThread()
Gets the thread attribute of the IdThreadMgrDefault object
Specified by:
getThread in interface PeerThreadManager
Overrides:
getThread in class AbstractPeerThreadManager
Returns:
The thread value
Throws:
IdThreadMgrError - Description of the Exception

releaseThread

public void releaseThread(PeerThread thread)
                   throws java.lang.InterruptedException
Description of the Method
Specified by:
releaseThread in interface PeerThreadManager
Overrides:
releaseThread in class AbstractPeerThreadManager
Parameters:
thread - Description of the Parameter

terminateThreads

public void terminateThreads()
                      throws java.lang.InterruptedException
DOCUMENT ME!
Specified by:
terminateThreads in interface PeerThreadManager
Throws:
java.lang.InterruptedException - DOCUMENT ME!


Copyright © 2002-2002 IndyJ. All Rights Reserved.