edu.washington.cs.supple.net.rmi
Interface RemoteApplicationSession

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

public interface RemoteApplicationSession
extends java.rmi.Remote

Remote session facade.

Author:
dbc1

Method Summary
 void close()
          Close the session.
 void closedView(int uniqueId)
          Closed a view.
 UiObject createUi()
          Create UI root.
 UiObject execute(int uniqueId)
          Execute an action.
 void setValue(int uniqueId, java.lang.Object v)
          Process 'set' event
 

Method Detail

createUi

public UiObject createUi()
                  throws java.rmi.RemoteException
Create UI root. This method assumes it will be called once to create the initial 'main' UI and bind it to a view.

Returns:
data for the main Ui
Throws:
java.rmi.RemoteException

execute

public UiObject execute(int uniqueId)
                 throws java.rmi.RemoteException
Execute an action.

Throws:
java.rmi.RemoteException

setValue

public void setValue(int uniqueId,
                     java.lang.Object v)
              throws java.rmi.RemoteException
Process 'set' event

Parameters:
uniqueId -
v -
Throws:
java.rmi.RemoteException

closedView

public void closedView(int uniqueId)
                throws java.rmi.RemoteException
Closed a view.

Parameters:
uniqueId -
Throws:
java.rmi.RemoteException

close

public void close()
           throws java.rmi.RemoteException
Close the session.

Throws:
java.rmi.RemoteException