jas.jds.interfaces
Interface JavaDataServer

All Superinterfaces:
java.rmi.Remote
All Known Subinterfaces:
SecureJavaDataServer

public interface JavaDataServer
extends java.rmi.Remote

This the main interface implemented by any JavaDataServer It deals with establishing connections and creating new jobs or reconnecting to existing jobs.


Method Summary
 RemoteJob connectToJob(java.lang.String name, RemoteEventReceiver ed, RMIDestination dest)
           
 RemoteJob connectToJob(java.lang.String name, RemoteEventReceiver ed, RMIDestination dest, RemoteClassLoader loader)
           
 java.lang.String[] listJobs()
           
 RemoteJob newJob(java.lang.String name, RemoteEventReceiver ed, RMIDestination dest, RemoteClassLoader loader)
           
 boolean openConnection(java.lang.String user, double version)
          Open a connection.
 

Method Detail

openConnection

public boolean openConnection(java.lang.String user,
                              double version)
                       throws ConnectionRejected,
                              java.rmi.RemoteException
Open a connection.
Returns:
true if there are existing jobs for this user

listJobs

public java.lang.String[] listJobs()
                            throws java.rmi.RemoteException

newJob

public RemoteJob newJob(java.lang.String name,
                        RemoteEventReceiver ed,
                        RMIDestination dest,
                        RemoteClassLoader loader)
                 throws java.rmi.RemoteException

connectToJob

public RemoteJob connectToJob(java.lang.String name,
                              RemoteEventReceiver ed,
                              RMIDestination dest,
                              RemoteClassLoader loader)
                       throws java.rmi.RemoteException

connectToJob

public RemoteJob connectToJob(java.lang.String name,
                              RemoteEventReceiver ed,
                              RMIDestination dest)
                       throws java.rmi.RemoteException