package system.util;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * This interface connects rwServer to wr_rw_Server servlet. It is for the direct (or RMI) connection.
 * @author: Nikolai Rangelov
 */
public interface wr_rw_ServerRMI extends Remote {
/**
 * This is only a reference to the wr_rw_Server's method.
 * @return boolean
 */
	public boolean wr_rwMethodFlow(long wrKey, long rwKey, short marketKey, int wr_rw_Counts) throws RemoteException;
/**
 * This is only a reference to the wr_rw_Server's method.
 * @return boolean
 */
	public boolean wr_rwServerDeInit() throws RemoteException;
/**
 * This is only a reference to the wr_rw_Server's method.
 * @return byte
 */
	public byte wr_rwServerInit(String Iwr_rwLogPath, int IScreenLogLevel, int IFileLogLevel, String Idb_Drivers, String Idb_host, String Idb_user, String Idb_password) throws RemoteException;
}
