package jas2.jds.interfaces;

import java.rmi.*;
import java.rmi.server.*;
import jas2.util.rmi.*;
import jas2.util.tree.TreeItem;
import jas2.job.LoaderException;
import hepjas.analysis.*;

public interface RemoteJob extends Remote
{
	public TreeItem[] listItems() throws RemoteException;
	public RemoteObject getItem(TreeItem item, RMIDestination obs) throws RemoteException;

	public TreeItem[] listDataSources() throws RemoteException;
	public TreeItem[] getSubItems(TreeItem dataSource) throws RemoteException;
	public void openDataSource(TreeItem dataSource) throws RemoteException;
	public void closeDataset(TreeItem item) throws RemoteException;
	public void setEventSource(TreeItem item) throws RemoteException;

	public String getEventDataClass(TreeItem item) throws RemoteException;

	public void loadRemoteObject(String name) throws RemoteException, LoaderException;
	public void unloadAll() throws RemoteException;

	public void run()     throws RemoteException;
	public void go()      throws RemoteException;
	public void go(int n) throws RemoteException;
	public void step()    throws RemoteException;
	public void restart() throws RemoteException;
	public void stop()    throws RemoteException;
	public void kill()    throws RemoteException;

	public void receiveMessage(Object source, Object dest, Object message) throws RemoteException;
	public void setPersistent(boolean persist) throws RemoteException;

	public EventData getEvent() throws RemoteException;
	public RemoteJobInfo getJobInfo() throws RemoteException;

	//public void close(java.util.Enumeration e) throws RemoteException;

		// passes the open data sets to the JDSJobAdaptor

	public void close() throws RemoteException;
	String     getRemoteCodeBase() throws RemoteException;
}
 

Ads help maintain this website.