Framework Professional Edition Package


com.prosyst.mbs.framework.event
Interface SystemListener


public interface SystemListener

This interface marks any listener implementation as system listener. System listener are very important for the correct functionality of the system. When the execution of user implemented listener's methods is too slow this listener is presumed as "bad" listener and it is removed automatically by the framework unless it is implementing the SystemListener interface. Instead of removing it automatically as a bad listener, the system dispatchers will notify the listener by calling timeoutOccured().

Since:
6.0
Author:
Stoyan Boshev

Method Summary
 boolean timeoutOccured()
          Notifies the listener that a timeout has occured while processing one of its methods.
 

Method Detail

timeoutOccured

boolean timeoutOccured()
Notifies the listener that a timeout has occured while processing one of its methods. The listeners logic may decide whether it has to be removed as listener or not

Returns:
true, if the listener has to be removed from the list of listeners

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved