fuego.components
Interface ServerEventHandler


public interface ServerEventHandler

The ServerEventHandler is an interface that needs to be implemented when an external event listener is required. Provides events for Global Automatic Listener activities. Find the project GlobalAutoListCase01.fpr in FuegoBPM's installation directory, in the studio/samples directory to study the example further.
As well, you can find in the project's root directory some java files that are Listener components to use as an example or a guide: - TimerComponent.java: This component is an example of a Listener that needs to be compiled and catalogued. The component activates the second FBL in the Global automatic activity (ListenerbyInterval) every 5 minutes. This FBL creates a logmessage. - MyEventListener: This is a template java component that shows the different methods you can implement in your own listener.


Method Summary
 void processEvent(java.lang.Object event)
          Defines the event that is passed to the listening FBL as an argument defined as ARG_ For example: server_d.processEvent("Message returned to the Listening FBL");
 

Method Detail

processEvent

void processEvent(java.lang.Object event)
                  throws ComponentExecutionException
Defines the event that is passed to the listening FBL as an argument defined as ARG_ For example: server_d.processEvent("Message returned to the Listening FBL");

Parameters:
event - event that is passed to the listening FBL
Throws:
ComponentExecutionException