/* ----------------------------------------
 * Origin  : GFI INFORMATIQUE 
 * Project : CDPP Propagation Tool 
 * ----------------------------------------
 * History 
 * Version : 01/05/2015 : SCA : V2.1
 * ----------------------------------------
 */
package fr.tlse.irap.flare;

import java.util.Date;

import jakarta.jws.WebMethod;
import jakarta.jws.WebService;
import jakarta.jws.soap.SOAPBinding;
import jakarta.jws.soap.SOAPBinding.Style;

import fr.tlse.irap.tool.radial.CMEType;

@WebService
@SOAPBinding(style = Style.RPC)
public interface IFlare {

	/**
	 * Fetch flares from catalog between 2 dates  
	 */
	@WebMethod
	FlareWrapper fetchFlares(Date t1, Date t2);

	/**
	 * Fetch LINKCAT flares from catalog between 2 dates  
	 */
	@WebMethod
	FlareWrapper fetchLinkcatFlares(Date t1, Date t2, CMEType cmeType, String observatory);

	/**
	 * Get Flares Flux of type and measure between 2 dates  
	 */
	@WebMethod
	FlareFluxWrapper getFlux(String fluxType, String measure, Date t1, Date t2);

}
