Package org.jppf.node.screensaver.impl
Class NodeState
java.lang.Object
org.jppf.node.event.NodeLifeCycleListenerAdapter
org.jppf.node.event.NodeIntegrationAdapter<JPPFScreenSaver>
org.jppf.node.screensaver.NodeIntegrationAdapter
org.jppf.node.screensaver.impl.NodeState
- All Implemented Interfaces:
EventListener,NodeIntegration<JPPFScreenSaver>,NodeLifeCycleListener,org.jppf.node.event.TaskExecutionListener
Instances of this class represent information about a node.
- Since:
- 4.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidjobEnding(NodeLifeCycleEvent event) Called after the node finishes processing a job.voidjobStarting(NodeLifeCycleEvent event) Called before the node starts processing a job.voidnodeEnding(NodeLifeCycleEvent event) Called when the node is terminating.voidnodeStarting(NodeLifeCycleEvent event) Called when the node has finished initializing, and before it starts processing jobs.voidsetUiComponent(JPPFScreenSaver screensaver) Provide a reference to the UI component which uses the event notifications.Methods inherited from class org.jppf.node.screensaver.NodeIntegrationAdapter
taskExecuted, taskNotificationMethods inherited from class org.jppf.node.event.NodeLifeCycleListenerAdapter
beforeNextJob, jobHeaderLoadedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.node.event.NodeLifeCycleListener
beforeNextJob, jobHeaderLoaded
-
Field Details
-
nodePanel
The node panel to update.
-
-
Constructor Details
-
NodeState
public NodeState()
-
-
Method Details
-
nodeStarting
Description copied from interface:NodeLifeCycleListenerCalled when the node has finished initializing, and before it starts processing jobs.- Specified by:
nodeStartingin interfaceNodeLifeCycleListener- Overrides:
nodeStartingin classNodeLifeCycleListenerAdapter- Parameters:
event- encapsulates information about the node.
-
nodeEnding
Description copied from interface:NodeLifeCycleListenerCalled when the node is terminating.- Specified by:
nodeEndingin interfaceNodeLifeCycleListener- Overrides:
nodeEndingin classNodeLifeCycleListenerAdapter- Parameters:
event- encapsulates information about the node.
-
jobStarting
Description copied from interface:NodeLifeCycleListenerCalled before the node starts processing a job.- Specified by:
jobStartingin interfaceNodeLifeCycleListener- Overrides:
jobStartingin classNodeLifeCycleListenerAdapter- Parameters:
event- encapsulates information about the job.
-
jobEnding
Description copied from interface:NodeLifeCycleListenerCalled after the node finishes processing a job.- Specified by:
jobEndingin interfaceNodeLifeCycleListener- Overrides:
jobEndingin classNodeLifeCycleListenerAdapter- Parameters:
event- encapsulates information about the job.
-
setUiComponent
Description copied from interface:NodeIntegrationProvide a reference to the UI component which uses the event notifications.- Specified by:
setUiComponentin interfaceNodeIntegration<JPPFScreenSaver>- Overrides:
setUiComponentin classNodeIntegrationAdapter<JPPFScreenSaver>- Parameters:
screensaver- the uiComponent to which events are dispatched.
-