tecgraf.openbus.DRMAA
Interface SessionOperations

All Known Subinterfaces:
Session
All Known Implementing Classes:
_SessionStub, SessionPOA, SessionPOATie

public interface SessionOperations

Generated from IDL interface "Session".

Version:
generated at Nov 3, 2010 2:32:40 PM
Author:
JacORB IDL compiler V 2.3-beta-2, 14-Oct-2006

Field Summary
static String JOB_IDS_SESSION_ALL
           
static String JOB_IDS_SESSION_ANY
           
static long TIMEOUT_NO_WAIT
           
static long TIMEOUT_WAIT_FOREVER
           
 
Method Summary
 JobInfo _wait(String jobName, long timeout)
           
 String contact()
           
 void control(String jobName, JobControlAction operation)
           
 JobTemplate createJobTemplate()
           
 void deleteJobTemplate(JobTemplate jobTemplate_)
           
 String drmaaImplementation()
           
 String drmsInfo()
           
 void exit()
           
 void init(String contactString)
           
 JobState jobStatus(String jobName)
           
 String[] runBulkJobs(JobTemplate jobTemplate_, int beginIndex, int endIndex, int step)
           
 String runJob(JobTemplate jobTemplate_)
           
 void synchronize(String[] jobList, long timeout, boolean dispose)
           
 Version version()
           
 

Field Detail

TIMEOUT_WAIT_FOREVER

static final long TIMEOUT_WAIT_FOREVER
See Also:
Constant Field Values

TIMEOUT_NO_WAIT

static final long TIMEOUT_NO_WAIT
See Also:
Constant Field Values

JOB_IDS_SESSION_ANY

static final String JOB_IDS_SESSION_ANY
See Also:
Constant Field Values

JOB_IDS_SESSION_ALL

static final String JOB_IDS_SESSION_ALL
See Also:
Constant Field Values
Method Detail

init

void init(String contactString)
          throws InvalidContactStringException,
                 NoDefaultContactStringSelectedException,
                 DefaultContactStringException,
                 DrmCommunicationException,
                 AuthorizationException,
                 InternalException,
                 DrmsInitException,
                 AlreadyActiveSessionException,
                 OutOfMemoryException,
                 InvalidArgumentException
Throws:
InvalidContactStringException
NoDefaultContactStringSelectedException
DefaultContactStringException
DrmCommunicationException
AuthorizationException
InternalException
DrmsInitException
AlreadyActiveSessionException
OutOfMemoryException
InvalidArgumentException

exit

void exit()
          throws AuthorizationException,
                 NoActiveSessionException,
                 DrmsExitException,
                 OutOfMemoryException,
                 DrmCommunicationException,
                 InternalException
Throws:
AuthorizationException
NoActiveSessionException
DrmsExitException
OutOfMemoryException
DrmCommunicationException
InternalException

createJobTemplate

JobTemplate createJobTemplate()
                              throws AuthorizationException,
                                     NoActiveSessionException,
                                     OutOfMemoryException,
                                     DrmCommunicationException,
                                     InternalException
Throws:
AuthorizationException
NoActiveSessionException
OutOfMemoryException
DrmCommunicationException
InternalException

deleteJobTemplate

void deleteJobTemplate(JobTemplate jobTemplate_)
                       throws AuthorizationException,
                              NoActiveSessionException,
                              InvalidArgumentException,
                              OutOfMemoryException,
                              InvalidJobTemplateException,
                              DrmCommunicationException,
                              InternalException
Throws:
AuthorizationException
NoActiveSessionException
InvalidArgumentException
OutOfMemoryException
InvalidJobTemplateException
DrmCommunicationException
InternalException

runJob

String runJob(JobTemplate jobTemplate_)
              throws TryLaterException,
                     DrmCommunicationException,
                     AuthorizationException,
                     NoActiveSessionException,
                     InternalException,
                     DeniedByDrmException,
                     InvalidJobTemplateException,
                     OutOfMemoryException,
                     InvalidArgumentException
Throws:
TryLaterException
DrmCommunicationException
AuthorizationException
NoActiveSessionException
InternalException
DeniedByDrmException
InvalidJobTemplateException
OutOfMemoryException
InvalidArgumentException

runBulkJobs

String[] runBulkJobs(JobTemplate jobTemplate_,
                     int beginIndex,
                     int endIndex,
                     int step)
                     throws TryLaterException,
                            DrmCommunicationException,
                            AuthorizationException,
                            NoActiveSessionException,
                            InternalException,
                            DeniedByDrmException,
                            InvalidJobTemplateException,
                            OutOfMemoryException,
                            InvalidArgumentException
Throws:
TryLaterException
DrmCommunicationException
AuthorizationException
NoActiveSessionException
InternalException
DeniedByDrmException
InvalidJobTemplateException
OutOfMemoryException
InvalidArgumentException

control

void control(String jobName,
             JobControlAction operation)
             throws SuspendInconsistentStateException,
                    ReleaseInconsistentStateException,
                    InvalidJobException,
                    HoldInconsistentStateException,
                    DrmCommunicationException,
                    AuthorizationException,
                    NoActiveSessionException,
                    InternalException,
                    ResumeInconsistentStateException,
                    OutOfMemoryException,
                    InvalidArgumentException
Throws:
SuspendInconsistentStateException
ReleaseInconsistentStateException
InvalidJobException
HoldInconsistentStateException
DrmCommunicationException
AuthorizationException
NoActiveSessionException
InternalException
ResumeInconsistentStateException
OutOfMemoryException
InvalidArgumentException

synchronize

void synchronize(String[] jobList,
                 long timeout,
                 boolean dispose)
                 throws InvalidJobException,
                        NoActiveSessionException,
                        AuthorizationException,
                        InvalidArgumentException,
                        OutOfMemoryException,
                        DrmCommunicationException,
                        InternalException,
                        ExitTimeoutException
Throws:
InvalidJobException
NoActiveSessionException
AuthorizationException
InvalidArgumentException
OutOfMemoryException
DrmCommunicationException
InternalException
ExitTimeoutException

_wait

JobInfo _wait(String jobName,
              long timeout)
              throws InvalidJobException,
                     NoActiveSessionException,
                     AuthorizationException,
                     InvalidArgumentException,
                     OutOfMemoryException,
                     DrmCommunicationException,
                     InternalException,
                     ExitTimeoutException
Throws:
InvalidJobException
NoActiveSessionException
AuthorizationException
InvalidArgumentException
OutOfMemoryException
DrmCommunicationException
InternalException
ExitTimeoutException

jobStatus

JobState jobStatus(String jobName)
                   throws InvalidJobException,
                          NoActiveSessionException,
                          AuthorizationException,
                          InvalidArgumentException,
                          OutOfMemoryException,
                          DrmCommunicationException,
                          InternalException
Throws:
InvalidJobException
NoActiveSessionException
AuthorizationException
InvalidArgumentException
OutOfMemoryException
DrmCommunicationException
InternalException

contact

String contact()

version

Version version()

drmsInfo

String drmsInfo()

drmaaImplementation

String drmaaImplementation()


Tecgraf PUC-Rio