jpl.mipl.pgs.core
Interface ProcessControl_IF

All Superinterfaces:
Remote
All Known Subinterfaces:
Controller_IF, ServiceFactory_IF, StandaloneController_IF
All Known Implementing Classes:
controller, Controller, DefaultStdController, ServiceFactory

public interface ProcessControl_IF
extends Remote

Interface for controlling process behavior.


      Copyright 2004-2006, California Institute of Technology.
      ALL RIGHTS RESERVED.
      U.S. Government Sponsorship acknowledge.
  

Author:
Raj Patel

Method Summary
 void abort(String processName, Long pIID, String reason)
          Abort the specified process instance.
 void pause(String processName, Long pIID, String reason, String nodeName)
          Pause either all or specified process instance.
 void resume(String processName, Long pIID, String nodeName)
          Resume the specified process instance.
 void stop(String processName, Long pIID, String reason)
          Stop the specified process instance.
 

Method Detail

pause

void pause(String processName,
           Long pIID,
           String reason,
           String nodeName)
           throws RemoteException
Pause either all or specified process instance. Any null parameters are ignored.

Parameters:
processName - the name of the process that is to be stopped.
pIID - the ID of the process instance that is to be stopped.
reason - an explanation, if appropriate, for the puase.
nodeName - the name of the node where the process is to pause.
Throws:
RemoteException

resume

void resume(String processName,
            Long pIID,
            String nodeName)
            throws RemoteException
Resume the specified process instance. See #pause for parameter documentation.

Throws:
RemoteException

stop

void stop(String processName,
          Long pIID,
          String reason)
          throws RemoteException
Stop the specified process instance. See #pause for parameter documentation.

Throws:
RemoteException

abort

void abort(String processName,
           Long pIID,
           String reason)
           throws RemoteException
Abort the specified process instance. See #pause for parameter documentation.

Throws:
RemoteException