package eu.dnetlib.enabling.aas.nh.rmi;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;

/**
 * Notification consumer methods.
 * @author mhorst
 *
 */
public interface INotificationHandler {

	/**
	 * Notification consumer method.
	 * @param subscrId
	 * @param topic
	 * @param isId
	 * @param message
	 * @return Return
	 */
	@WebMethod(operationName="notify", action="notify")
	@WebResult(name = "Return")
	public boolean notify(
			@WebParam(name="subscrId") String subscrId, 
			@WebParam(name="topic") String topic, 
			@WebParam(name="isId") String isId, 
			@WebParam(name="message") String message);
}
