jas2.jds.interfaces
Interface JavaDataServer
-
- All Superinterfaces:
- java.rmi.Remote
- All Known Subinterfaces:
- SecureJavaDataServer
public interface JavaDataServer extends java.rmi.RemoteThis the main interface implemented by any JavaDataServer It deals with establishing connections and creating new jobs or reconnecting to existing jobs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description RemoteJobconnectToJob(java.lang.String name, RemoteEventReceiver ed, RMIDestination dest)RemoteJobconnectToJob(java.lang.String name, RemoteEventReceiver ed, RMIDestination dest, RemoteClassLoader loader)java.lang.String[]listJobs()RemoteJobnewJob(java.lang.String name, RemoteEventReceiver ed, RMIDestination dest, RemoteClassLoader loader)booleanopenConnection(java.lang.String user, double version)Open a connection.
-
-
-
Method Detail
-
openConnection
boolean openConnection(java.lang.String user, double version) throws ConnectionRejected, java.rmi.RemoteExceptionOpen a connection.- Returns:
- true if there are existing jobs for this user
- Throws:
ConnectionRejectedjava.rmi.RemoteException
-
listJobs
java.lang.String[] listJobs() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
newJob
RemoteJob newJob(java.lang.String name, RemoteEventReceiver ed, RMIDestination dest, RemoteClassLoader loader) throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
connectToJob
RemoteJob connectToJob(java.lang.String name, RemoteEventReceiver ed, RMIDestination dest, RemoteClassLoader loader) throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
connectToJob
RemoteJob connectToJob(java.lang.String name, RemoteEventReceiver ed, RMIDestination dest) throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG