public abstract class TaskMonitor extends Object implements org.globus.wsrf.NotifyCallback
| Modifier and Type | Class and Description |
|---|---|
static class |
TaskMonitor.TaskTopic
Topics relative to task execution.
|
| Constructor and Description |
|---|
TaskMonitor(TaskMonitor.TaskTopic... topics)
Creates a monitor for one more
TaskTopics. |
| Modifier and Type | Method and Description |
|---|---|
void |
deliver(List topicPath,
org.apache.axis.message.addressing.EndpointReferenceType producer,
Object message) |
List<TaskMonitor.TaskTopic> |
getTopics()
Returns the monitor's topics.
|
protected void |
onOutputChange(TaskProxy proxy)
Callback on output change.
|
protected void |
onStateChange(TaskProxy proxy)
Callback on state change.
|
protected void |
subscribe(org.apache.axis.message.addressing.EndpointReferenceType epr)
Subscribes monitor with remote task.
|
public TaskMonitor(TaskMonitor.TaskTopic... topics)
TaskTopics.topics - (optional) the topics (all by default).public List<TaskMonitor.TaskTopic> getTopics()
protected void subscribe(org.apache.axis.message.addressing.EndpointReferenceType epr)
throws Exception
Exception - if the monitor could not be subscribed.public void deliver(List topicPath, org.apache.axis.message.addressing.EndpointReferenceType producer, Object message)
deliver in interface org.globus.wsrf.NotifyCallbackprotected void onStateChange(TaskProxy proxy) throws Exception
Copyright © 2015. All Rights Reserved.