|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.jcreme.processing.RemoteTaskActivityMonitorImpl
This is the implementation of the RemoteTaskActivityMonitor interface. It enables to remotely monuitor a task.
| Nested Class Summary | |
class |
RemoteTaskActivityMonitorImpl.RMIListener
|
| Nested classes inherited from class org.jcreme.processing.RemoteTaskActivityMonitor |
RemoteTaskActivityMonitor.RemoteListener |
| Field Summary | |
(package private) static long |
serialVersionUID
|
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
RemoteTaskActivityMonitorImpl(TaskActivityMonitor actualMonitor)
Creates new RemoteTaskActivityMonitorImpl |
|
| Method Summary | |
void |
addPropertyChangeListener(RemoteTaskActivityMonitor.RemoteListener l)
Enables to add a RemoteListener to this TaskActivityMonitor. |
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)
Enables to remove a RemoteListener to this TaskActivityMonitor. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final long serialVersionUID
| Constructor Detail |
public RemoteTaskActivityMonitorImpl(TaskActivityMonitor actualMonitor)
throws java.lang.IllegalArgumentException,
java.rmi.RemoteException
actualMonitor - the monitor that is actually plugged on the task.
java.lang.IllegalArgumentException - if the actualMonitor is null.
java.rmi.RemoteException - if an error occurs during communication.| Method Detail |
public java.util.Date getEndDate()
getEndDate in interface RemoteTaskActivityMonitorjava.rmi.RemoteException - if an error occurs during communication.public java.lang.String getTaskName()
getTaskName in interface RemoteTaskActivityMonitorjava.rmi.RemoteException - if an error occurs during communication.public java.lang.Long getElapsedTime()
getElapsedTime in interface RemoteTaskActivityMonitorjava.rmi.RemoteException - if an error occurs during communication.public java.lang.Double getCompletionPercentage()
getCompletionPercentage in interface RemoteTaskActivityMonitorjava.rmi.RemoteException - if an error occurs during communication.public java.util.Date getStartDate()
getStartDate in interface RemoteTaskActivityMonitorjava.rmi.RemoteException - if an error occurs during communication.public void addPropertyChangeListener(RemoteTaskActivityMonitor.RemoteListener l)
addPropertyChangeListener in interface RemoteTaskActivityMonitorl - the RemoteListener that will listen to this
TaskActivityMonitor.
java.rmi.RemoteException - if an error occurs during communication.public void removePropertyChangeListener(RemoteTaskActivityMonitor.RemoteListener l)
removePropertyChangeListener in interface RemoteTaskActivityMonitorl - the RemoteListener that will listen to this
TaskActivityMonitor.
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 | ||||||||||