tecgraf.openbus.DRMAA
Class _SessionStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by tecgraf.openbus.DRMAA._SessionStub
All Implemented Interfaces:
Serializable, Object, IDLEntity, Session, SessionOperations

public class _SessionStub
extends ObjectImpl
implements Session

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
See Also:
Serialized Form

Field Summary
static Class _opsClass
           
 
Fields inherited from interface tecgraf.openbus.DRMAA.SessionOperations
JOB_IDS_SESSION_ALL, JOB_IDS_SESSION_ANY, TIMEOUT_NO_WAIT, TIMEOUT_WAIT_FOREVER
 
Constructor Summary
_SessionStub()
           
 
Method Summary
 String[] _ids()
           
 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()
           
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

_opsClass

public static final Class _opsClass
Constructor Detail

_SessionStub

public _SessionStub()
Method Detail

_ids

public String[] _ids()
Specified by:
_ids in class ObjectImpl

runBulkJobs

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

version

public Version version()
Specified by:
version in interface SessionOperations

runJob

public String runJob(JobTemplate jobTemplate_)
              throws TryLaterException,
                     DrmCommunicationException,
                     AuthorizationException,
                     NoActiveSessionException,
                     InternalException,
                     DeniedByDrmException,
                     InvalidJobTemplateException,
                     OutOfMemoryException,
                     InvalidArgumentException
Specified by:
runJob in interface SessionOperations
Throws:
TryLaterException
DrmCommunicationException
AuthorizationException
NoActiveSessionException
InternalException
DeniedByDrmException
InvalidJobTemplateException
OutOfMemoryException
InvalidArgumentException

contact

public String contact()
Specified by:
contact in interface SessionOperations

jobStatus

public JobState jobStatus(String jobName)
                   throws InvalidJobException,
                          NoActiveSessionException,
                          AuthorizationException,
                          InvalidArgumentException,
                          OutOfMemoryException,
                          DrmCommunicationException,
                          InternalException
Specified by:
jobStatus in interface SessionOperations
Throws:
InvalidJobException
NoActiveSessionException
AuthorizationException
InvalidArgumentException
OutOfMemoryException
DrmCommunicationException
InternalException

_wait

public JobInfo _wait(String jobName,
                     long timeout)
              throws InvalidJobException,
                     NoActiveSessionException,
                     AuthorizationException,
                     InvalidArgumentException,
                     OutOfMemoryException,
                     DrmCommunicationException,
                     InternalException,
                     ExitTimeoutException
Specified by:
_wait in interface SessionOperations
Throws:
InvalidJobException
NoActiveSessionException
AuthorizationException
InvalidArgumentException
OutOfMemoryException
DrmCommunicationException
InternalException
ExitTimeoutException

exit

public void exit()
          throws AuthorizationException,
                 NoActiveSessionException,
                 DrmsExitException,
                 OutOfMemoryException,
                 DrmCommunicationException,
                 InternalException
Specified by:
exit in interface SessionOperations
Throws:
AuthorizationException
NoActiveSessionException
DrmsExitException
OutOfMemoryException
DrmCommunicationException
InternalException

drmsInfo

public String drmsInfo()
Specified by:
drmsInfo in interface SessionOperations

synchronize

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

createJobTemplate

public JobTemplate createJobTemplate()
                              throws AuthorizationException,
                                     NoActiveSessionException,
                                     OutOfMemoryException,
                                     DrmCommunicationException,
                                     InternalException
Specified by:
createJobTemplate in interface SessionOperations
Throws:
AuthorizationException
NoActiveSessionException
OutOfMemoryException
DrmCommunicationException
InternalException

deleteJobTemplate

public void deleteJobTemplate(JobTemplate jobTemplate_)
                       throws AuthorizationException,
                              NoActiveSessionException,
                              InvalidArgumentException,
                              OutOfMemoryException,
                              InvalidJobTemplateException,
                              DrmCommunicationException,
                              InternalException
Specified by:
deleteJobTemplate in interface SessionOperations
Throws:
AuthorizationException
NoActiveSessionException
InvalidArgumentException
OutOfMemoryException
InvalidJobTemplateException
DrmCommunicationException
InternalException

init

public void init(String contactString)
          throws InvalidContactStringException,
                 NoDefaultContactStringSelectedException,
                 DefaultContactStringException,
                 DrmCommunicationException,
                 AuthorizationException,
                 InternalException,
                 DrmsInitException,
                 AlreadyActiveSessionException,
                 OutOfMemoryException,
                 InvalidArgumentException
Specified by:
init in interface SessionOperations
Throws:
InvalidContactStringException
NoDefaultContactStringSelectedException
DefaultContactStringException
DrmCommunicationException
AuthorizationException
InternalException
DrmsInitException
AlreadyActiveSessionException
OutOfMemoryException
InvalidArgumentException

drmaaImplementation

public String drmaaImplementation()
Specified by:
drmaaImplementation in interface SessionOperations

control

public void control(String jobName,
                    JobControlAction operation)
             throws SuspendInconsistentStateException,
                    ReleaseInconsistentStateException,
                    InvalidJobException,
                    HoldInconsistentStateException,
                    DrmCommunicationException,
                    AuthorizationException,
                    NoActiveSessionException,
                    InternalException,
                    ResumeInconsistentStateException,
                    OutOfMemoryException,
                    InvalidArgumentException
Specified by:
control in interface SessionOperations
Throws:
SuspendInconsistentStateException
ReleaseInconsistentStateException
InvalidJobException
HoldInconsistentStateException
DrmCommunicationException
AuthorizationException
NoActiveSessionException
InternalException
ResumeInconsistentStateException
OutOfMemoryException
InvalidArgumentException


Tecgraf PUC-Rio