client
Interface Client2Space

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

public interface Client2Space
extends java.rmi.Remote

Interface describing the methods that a client can use to interact with a space.

Author:
Diana Abbas, Ryan Neal

Field Summary
static java.lang.String SERVICE_NAME
           
 
Method Summary
 Result compute(Task task, java.lang.Object input, Shared shared)
           
 Shared getShared()
           
 Statistics getStatistics()
           
 void put(GUI_Client client, Task task)
           
 Result take()
           
 

Field Detail

SERVICE_NAME

static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values
Method Detail

put

void put(GUI_Client client,
         Task task)
         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

take

Result take()
            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

compute

Result compute(Task task,
               java.lang.Object input,
               Shared shared)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getStatistics

Statistics getStatistics()
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getShared

Shared getShared()
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException