sod.util
Interface Processor

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ProcessorImpl

public interface Processor
extends java.rmi.Remote


Method Summary
 void delProcess(int pid)
           
 void execute(Process process)
           
 void exit(long delay)
           
 java.lang.String getHostName()
           
 int getNumProcesses()
           
 int[] getPIDs(int numProcesses)
           
 java.util.Vector getProcesses()
           
 int getScore()
           
 java.lang.String getServerName()
           
 Process suspendProcess(int pid)
           
 

Method Detail

getServerName

public java.lang.String getServerName()
                               throws java.rmi.RemoteException

execute

public void execute(Process process)
             throws java.rmi.RemoteException

getScore

public int getScore()
             throws java.rmi.RemoteException

getNumProcesses

public int getNumProcesses()
                    throws java.rmi.RemoteException

getHostName

public java.lang.String getHostName()
                             throws java.rmi.RemoteException

exit

public void exit(long delay)
          throws java.rmi.RemoteException

getProcesses

public java.util.Vector getProcesses()
                              throws java.rmi.RemoteException

getPIDs

public int[] getPIDs(int numProcesses)
              throws java.rmi.RemoteException

delProcess

public void delProcess(int pid)
                throws java.rmi.RemoteException

suspendProcess

public Process suspendProcess(int pid)
                       throws java.rmi.RemoteException