QScript  2.1.2
Expression and algorithm evaluator
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
org.qscript.eventsonfire.EventHandlerInfo Interface Reference

Inherited by org.qscript.eventsonfire.AbstractEventHandlerInfo.

Public Member Functions

boolean invoke (Object producer, Object consumer, Object event, String...tags)
 

Detailed Description

Holds information about an event handler method.

Author
Manfred HANTSCHEL

Member Function Documentation

boolean org.qscript.eventsonfire.EventHandlerInfo.invoke ( Object  producer,
Object  consumer,
Object  event,
String...  tags 
)

Invokes the method referenced by this information object if applicable for the type of producer, consumer and event. If an error occurs when invoking the method, the invocationFailed method of the ErrorHandler is called.

Parameters
producerthe producer, mandatory
consumerthe consumer, mandatory
eventthe event, mandatory
tagsthe tags
Returns
true if invoked (or will be invoked in near future), false otherwise

Implemented in org.qscript.eventsonfire.AbstractEventHandlerInfo.


The documentation for this interface was generated from the following file: