api
Interface Computer

All Superinterfaces:
java.rmi.Remote, java.io.Serializable
All Known Implementing Classes:
ComputerImpl

public interface Computer
extends java.rmi.Remote, java.io.Serializable

Interface describing the computer

Author:
Diana Abbas, Ryan Neal

Method Summary
 long getComputerTimeUp()
           
 int getUniqueTaskID()
           
 void hello()
           
 Result run(Task task)
           
 void setShared(Shared proposedShared)
           
 void spawn(Task task)
           
 void updateShared(Shared share)
           
 

Method Detail

run

Result run(Task task)
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateShared

void updateShared(Shared share)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getComputerTimeUp

long getComputerTimeUp()
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

hello

void hello()

spawn

void spawn(Task task)

getUniqueTaskID

int getUniqueTaskID()

setShared

void setShared(Shared proposedShared)