|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Here only the methods the client can call are listed. Not included are the methods the devices on the server can call. The user usually does not have to call these methods.
Field Summary | |
static java.lang.String |
DELIMITERCHAR
The character separating a resource name from its parent resource name. |
Method Summary | |
void |
abortTask(java.lang.String taskID)
abnormal abort of a running task. this method is usually called by ChMonitor.abortTask(String) . |
java.util.Set |
getTasks()
returns all known tasks. |
java.lang.String |
startTask(ChClientTask task,
java.lang.String taskName,
java.util.Set rsrcs)
This method asks the Ressource-Manager to start the given task. |
void |
stopTask(ChClientTask task)
normal finish of a task. |
void |
stopTask(java.lang.String taskID)
normal finish of a task. |
Field Detail |
public static final java.lang.String DELIMITERCHAR
Method Detail |
public java.lang.String startTask(ChClientTask task, java.lang.String taskName, java.util.Set rsrcs) throws java.rmi.RemoteException, ChAlreadyStartingException, ChAlreadyStartedException
task
.
task
- the client-side task. Its taskStarted()-method is called.taskName
- the name of the task. The taskID is created on the base
of this name.rsrcs
- this is a Set
of String
describing each a resource on the server, e.g. "GPIB/7".
java.rmi.RemoteException
ChAlreadyStartingException
ChAlreadyStartedException
public void stopTask(ChClientTask task) throws java.rmi.RemoteException, ChTaskNotRunningException
ChTask.stop()
java.rmi.RemoteException
ChTaskNotRunningException
stopTask(String)
public void stopTask(java.lang.String taskID) throws java.rmi.RemoteException, ChTaskNotRunningException
ChTask.stop()
java.rmi.RemoteException
ChTaskNotRunningException
stopTask(ChClientTask)
,
abortTask(String taskID)
public void abortTask(java.lang.String taskID) throws java.rmi.RemoteException
ChMonitor.abortTask(String)
.
java.rmi.RemoteException
public java.util.Set getTasks() throws java.rmi.RemoteException
Set
of ChTaskInfo
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |