package market.market_util;

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

/**
 * This interface connects market_rwServer to rwServer servlet. It is for the RMI connection.
 * @author: Nikolai Rangelov
 */
public interface rwServerRMI extends Remote {
/**
 * This is only a reference to the rwServer's method.
 * @return boolean
 */
public boolean rwServerCountMethodFlow(long rwKey, long rwCounts, long wrKey, short marketKey) throws RemoteException;
/**
 * This is only a reference to the rwServer's method.
 * @return long
 */
public long rwServerRegisterMethodFlow(String rwString, short langKey, long rwCounts, long wrKey, short marketKey) throws RemoteException;
}

