Interface ConnectionNotificationConsumer


public interface ConnectionNotificationConsumer
Interface for Beans that can receive (dis-)connection events generated when (dis-)connecting data processing nodes in the Weka KnowledgeFlow. This is useful, for example, for "intelligent" filters that are able to share configuration information with preceding nodes in the processing chain.
Version:
$Revision: 8034 $
Author:
Carsten Pohle (cp AT cpohle de)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    connectionNotification(String eventName, Object source)
    Notify this object that it has been registered as a listener with a source with respect to the supplied event name.
    void
    Notify this object that it has been deregistered as a listener with a source with respect to the supplied event name This method should be implemented synchronized.
  • Method Details

    • connectionNotification

      void connectionNotification(String eventName, Object source)
      Notify this object that it has been registered as a listener with a source with respect to the supplied event name. This method should be implemented synchronized.
      Parameters:
      eventName -
      source - the source with which this object has been registered as a listener
    • disconnectionNotification

      void disconnectionNotification(String eventName, Object source)
      Notify this object that it has been deregistered as a listener with a source with respect to the supplied event name This method should be implemented synchronized.
      Parameters:
      eventName - the event
      source - the source with which this object has been registered as a listener