charly.client
Class ChTask.ChClientTaskRepresentation

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended bycharly.client.ChTask.ChClientTaskRepresentation
All Implemented Interfaces:
ChClientTask, java.rmi.Remote, java.io.Serializable
Enclosing class:
ChTask

class ChTask.ChClientTaskRepresentation
extends java.rmi.server.UnicastRemoteObject
implements ChClientTask

This class is for intern use only. It takes care of the communication with the server. For the server it represents the client- ChTask - object.


Field Summary
 
Fields inherited from class java.rmi.server.UnicastRemoteObject
 
Fields inherited from class java.rmi.server.RemoteServer
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
(package private) ChTask.ChClientTaskRepresentation()
           
 
Method Summary
 boolean equals(java.lang.Object cmp)
           
private  java.lang.String getTaskName()
          This method should only be used by equals(Object)
private  java.util.Set getTaskRsrcs()
          This method should only be used by equals(Object)
private  java.lang.String getTaskTaskID()
          This method should only be used by equals(Object)
 void taskAborted()
           
 void taskStarted(java.lang.String taskID)
          It is possible that this method is called before the ChRsrcManager.startTask(ChClientTask,String,Set) returned.
 void taskStopped()
           
 
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
getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChTask.ChClientTaskRepresentation

ChTask.ChClientTaskRepresentation()
                            throws java.rmi.RemoteException
Method Detail

taskStarted

public void taskStarted(java.lang.String taskID)
                 throws java.rmi.RemoteException
Description copied from interface: ChClientTask
It is possible that this method is called before the ChRsrcManager.startTask(ChClientTask,String,Set) returned. Therefore taskID is a parameter of this method.

Specified by:
taskStarted in interface ChClientTask
Throws:
java.rmi.RemoteException

taskStopped

public void taskStopped()
                 throws java.rmi.RemoteException
Specified by:
taskStopped in interface ChClientTask
Throws:
java.rmi.RemoteException

taskAborted

public void taskAborted()
                 throws java.rmi.RemoteException
Specified by:
taskAborted in interface ChClientTask
Throws:
java.rmi.RemoteException

getTaskName

private java.lang.String getTaskName()
                              throws java.rmi.RemoteException
This method should only be used by equals(Object)

Throws:
java.rmi.RemoteException

getTaskRsrcs

private java.util.Set getTaskRsrcs()
This method should only be used by equals(Object)


getTaskTaskID

private java.lang.String getTaskTaskID()
This method should only be used by equals(Object)


equals

public boolean equals(java.lang.Object cmp)