|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface enables to monitor a remote task.
| Nested Class Summary | |
static interface |
RemoteTaskActivityMonitor.RemoteListener
An interface to describe Remote change listeners. |
| Method Summary | |
void |
addPropertyChangeListener(RemoteTaskActivityMonitor.RemoteListener l)
This method should be called to register distant listeners. |
java.lang.Double |
getCompletionPercentage()
Gives access to the completion percentage of the task. |
java.lang.Long |
getElapsedTime()
Provides the elapsed time since the task started. |
java.util.Date |
getEndDate()
Gives access to the task's completion date. |
java.util.Date |
getStartDate()
Gives access to the date when the task started. |
java.lang.String |
getTaskName()
Gives access to the task's name. |
void |
removePropertyChangeListener(RemoteTaskActivityMonitor.RemoteListener l)
This method should be called to unregister distant listeners. |
| Method Detail |
public java.lang.String getTaskName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if an error occurs during communication.
public java.lang.Double getCompletionPercentage()
throws java.rmi.RemoteException
java.rmi.RemoteException - if an error occurs during communication.
public java.util.Date getStartDate()
throws java.rmi.RemoteException
java.rmi.RemoteException - if an error occurs during communication.
public java.util.Date getEndDate()
throws java.rmi.RemoteException
java.rmi.RemoteException - if an error occurs during communication.
public java.lang.Long getElapsedTime()
throws java.rmi.RemoteException
java.rmi.RemoteException - if an error occurs during communication.
public void addPropertyChangeListener(RemoteTaskActivityMonitor.RemoteListener l)
throws java.rmi.RemoteException
l - the listener to be notified.
java.rmi.RemoteException - if an error occurs during communication.
public void removePropertyChangeListener(RemoteTaskActivityMonitor.RemoteListener l)
throws java.rmi.RemoteException
l - the listener to be removed.
java.rmi.RemoteException - if an error occurs during communication.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||