package com.postgres.replic.server;

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

/**
 *  Description of the Interface
 *
 * @author    ronz
 */
public interface RServSignalHandler extends Remote {

	public final static int RSERV_SHUTDOWN = 0;
	public final static int RSERV_RELOAD = 1;
	public final static int RSERV_RESET = 2;

	public static final String REGISTRY_LOOKUP = "eRServer";

	/**
	 *  Description of the Method
	 *
	 * @param  signal               Parameter
	 * @exception  RemoteException  Description of the Exception
	 */
	public void signal(int signal) throws RemoteException;

}

