com.neeve.daemon.controller
Interface IDmnControllerEventHandler


public interface IDmnControllerEventHandler

The daemon controller event handler interface.

An event handler is a sink for events generated by the daemon controller. Controller events contain:
- An event type field (an integer value)
- An event data object (a type specific object).
Event types and their associated structure that are defined in the DmnControllerEvents class are applicable to all daemon controller implementations. An implementation is free to add more implementation specific event types.


Method Summary
 void onEvent(int type, Object data)
          The event handler method
 

Method Detail

onEvent

void onEvent(int type,
             Object data)
The event handler method

Parameters:
type - The event type.
data - The type specific event event data.
Threading:
Refer to the description of each event for the threading context in which the event is dispatched


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.