package market.market_util;

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

/**
 * This interface connects market_wrServer to wrServer servlet. It is for the RMI connection.
 * @author: Nikolai Rangelov
 */

public interface wrServerRMI extends Remote {
/**
 * This is only a reference to the wrServer's method.
 * @return boolean
 */

public boolean wrServerCountMethodFlow(long wrKey, long wrCounts, int srcKey, short marketKey)throws RemoteException;
/**
 * This is only a reference to the wrServer's method.
 * @return long
 */

public long wrServerRegisterMethodFlow(String wrString, short langKey, long wrCounts, int srcKey, short marketKey) throws RemoteException;
}

