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