All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.download.Administrative

public interface Administrative
The Administrative interface class defines methods which are called from the Download Manager in order to get the status information of a running Thread or to stop a running thread

Version:
$Revision: 1.2 $ $Date: 1998/03/13 16:26:41 $
Author:
Petros Pantis, Kostas Tzelepis

Variable Index

 o PRESTOPPED
State of a thread after receiving an interrupt
 o PROCEDING
Declares the state of a running thread
 o STOPPED
Declares the state of a stoped(finished) thread

Method Index

 o getAddresses()
Method used to retrieve the, associated to a thread, ip-address
 o getState()
Retieves the execution state of a thread
 o Interrupt(Object)
Used to interrupt the execution of a thread
 o Notify()
Wakes up a suspended thread

Variables

 o PROCEDING
 public static final int PROCEDING
Declares the state of a running thread

 o STOPPED
 public static final int STOPPED
Declares the state of a stoped(finished) thread

 o PRESTOPPED
 public static final int PRESTOPPED
State of a thread after receiving an interrupt

Methods

 o getAddresses
 public abstract Object getAddresses()
Method used to retrieve the, associated to a thread, ip-address

Returns:
value the associated ip-address
 o Interrupt
 public abstract void Interrupt(Object o)
Used to interrupt the execution of a thread

Parameters:
o - the originator of the interrupt
 o getState
 public abstract int getState()
Retieves the execution state of a thread

Returns:
value the execution state
 o Notify
 public abstract void Notify()
Wakes up a suspended thread


All Packages  Class Hierarchy  This Package  Previous  Next  Index