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
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)