Class NodeIntegrationAdapter<C>

java.lang.Object
org.jppf.node.event.NodeLifeCycleListenerAdapter
org.jppf.node.event.NodeIntegrationAdapter<C>
Type Parameters:
C - the type of UI component to dispatch events to.
All Implemented Interfaces:
EventListener, NodeIntegration<C>, NodeLifeCycleListener, org.jppf.node.event.TaskExecutionListener
Direct Known Subclasses:
NodeIntegrationAdapter

public abstract class NodeIntegrationAdapter<C> extends NodeLifeCycleListenerAdapter implements NodeIntegration<C>
An abstract adapter class for receiving node events. The methods in this class are empty. This class exists as convenience, to be overriden for creating listener objects, instead of implementing the NodeLifeCycleListener and TaskExecutionListener interfaces.
Since:
5.1
Author:
Laurent Cohen
  • Constructor Details

    • NodeIntegrationAdapter

      public NodeIntegrationAdapter()
  • Method Details

    • taskExecuted

      public void taskExecuted(org.jppf.node.event.TaskExecutionEvent event)
      Specified by:
      taskExecuted in interface org.jppf.node.event.TaskExecutionListener
    • taskNotification

      public void taskNotification(org.jppf.node.event.TaskExecutionEvent event)
      Specified by:
      taskNotification in interface org.jppf.node.event.TaskExecutionListener
    • setUiComponent

      public void setUiComponent(C uiComponent)
      Description copied from interface: NodeIntegration
      Provide a reference to the UI component which uses the event notifications.
      Specified by:
      setUiComponent in interface NodeIntegration<C>
      Parameters:
      uiComponent - the uiComponent to which events are dispatched.