PJODe

The PersonalJava ODBMS

com.linxpda.PJODe.server
Interface RemoteDB

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

public interface RemoteDB
extends java.rmi.Remote

Remote interface used by PJODe as a reference to a remotely running PJODeRMIServer. This interface basically provides remote implementations of the data manipulation methods from the PJODe object with the addition of open, which opens a new remote PJODe and makes it accessible to clients.

NOTE: This class will generally not be used directly by the user. It is created and utilized by remote instances of PJODe created through a call to PJODe.getRemoteInstance(String filename, String url).


Method Summary
 void close(java.lang.String dbName)
          A remote implementation of PJODe.close.
 ResultSet get(java.lang.Object query, java.lang.String dbName)
          A remote implementation of PJODe.get.
 void open(java.lang.String dbName)
          Opens a new remote instance of PJODe and makes it available for client connections.
 void remove(java.lang.Object value, java.lang.String dbName)
          A remote implementation of PJODe.remove.
 void set(java.lang.Object value, java.lang.String dbName)
          A remote implementation of PJODe.set.
 

Method Detail

open

public void open(java.lang.String dbName)
          throws java.rmi.RemoteException,
                 java.io.IOException,
                 DBException
Opens a new remote instance of PJODe and makes it available for client connections.

close

public void close(java.lang.String dbName)
           throws java.rmi.RemoteException,
                  java.io.IOException,
                  DBException
A remote implementation of PJODe.close.

get

public ResultSet get(java.lang.Object query,
                     java.lang.String dbName)
              throws java.rmi.RemoteException,
                     java.io.IOException,
                     DBException,
                     java.lang.ClassNotFoundException
A remote implementation of PJODe.get.

remove

public void remove(java.lang.Object value,
                   java.lang.String dbName)
            throws java.rmi.RemoteException,
                   java.io.IOException,
                   DBException
A remote implementation of PJODe.remove.

set

public void set(java.lang.Object value,
                java.lang.String dbName)
         throws java.rmi.RemoteException,
                java.io.IOException,
                DBException
A remote implementation of PJODe.set.

(c)2001 Linxpda, Inc. www.linxpda.com