package org.jcon.df;

import org.jcon.df.request.Request;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Vector;

/**
 * Interface for remote methods available for DatabaseServer.
 * See DatabaseServer for documentation.
 *
 * @author Jack Harich
 */
public interface DatabaseServerRemote extends Remote {

// *** Will probably change to (Transaction transaction)
public Object performTransaction(Vector requests) throws RemoteException;

public Object performRequest(Request request) throws RemoteException;

public Entity getEntity(String schemaName,
    String entityName) throws RemoteException;


} // End interface


