gov.nasa.arc.brahms.vm.api.components
Interface IEventNotifier


public interface IEventNotifier

The IEventNotifier interface is the interface to the event notification service for the virtual machine. The EventNotifier allows for external components to be notified of changes in the virtual machine's status and in the agents', worldstate's and scheduler's state. The various components send events to the event notifier. The event notifier handles the events synchronously.

Version:
12 September 2000
Author:
Ron van Hoof

Method Summary
 void addEventMessageListener(IEventMessageListener listener)
          Registers the specified IEventMessageListener as a listener for the events send to the event notifier.
 void removeEventMessageListener(IEventMessageListener listener)
          Unregisters the specified IEventMessageListener as a listener for the events send to the event notifier.
 

Method Detail

addEventMessageListener

void addEventMessageListener(IEventMessageListener listener)
Registers the specified IEventMessageListener as a listener for the events send to the event notifier.

Parameters:
listener - the IEventMessageListener to be added

removeEventMessageListener

void removeEventMessageListener(IEventMessageListener listener)
Unregisters the specified IEventMessageListener as a listener for the events send to the event notifier.

Parameters:
listener - the IEventMessageListener to be removed


Copyright © 1997-2012 All Rights Reserved.