OpenDreams Core  1.7
/Users/mjulia/workspace/opendreams_core/idl/opendreams.idl
Ir para a documentação deste ficheiro.
00001 
00021 #ifndef _OPENDREAMS_IDL
00022 #define _OPENDREAMS_IDL
00023 
00024 #include "drmaa.idl"
00025 
00026 module tecgraf {
00027 module openbus {
00028 module opendreams {
00032 module v1_7 {
00036 exception ProjectNotFoundException {string message;};
00037 
00044 valuetype OpenDreamsJobTemplate : DRMAA::v1_7::JobTemplate {
00045    private long long id; 
00054    public DRMAA::v1_7::Dictionary jobParameters;
00061    public string jobDescription;
00071    public short jobPriority;
00077    public string jobExecutionServer;
00078 };
00079 
00085 enum FinalizationType {  
00090   UNDEFINED,  
00094   UNKNOWN,                                 
00098   KILLED,              
00102   LOST,                                        
00107   EXIT_CODE_IGNORED,    
00112   EXIT_CODE_SUCCESS, 
00117   EXIT_CODE_ERROR,      
00122   EXIT_CODE_FAILED, 
00126   COMMAND_IDENTIFIER_NOT_FOUND, 
00131   SGA_EXECUTION_ERROR,       
00136   CSFS_SERVICE_UNAVAILABLE,          
00144   FAILED_SETUP_EXECUTION_ENVIRONMENT,
00149   NO_SGA_AVAILABLE_TO_ROOT_COMMAND,
00153   SGA_IS_NOT_AVAILABLE,
00158   PROJECT_NOT_FOUND,
00162   USER_WITHOUT_PERMISSION_FOR_EXECUTION
00163 };
00164 
00169 valuetype OpenDreamsJobInfo : DRMAA::v1_7::JobInfo {
00173    public string guiltyNodeId;
00180    public FinalizationType finalizationType;
00184    public string description;
00185 };
00186 
00198 interface IOpenDreams{
00230    DRMAA::v1_7::Session getSession(in string projectId)
00231    raises ( DRMAA::v1_7::AuthorizationException,  
00232             DRMAA::v1_7::InternalException,
00233             ProjectNotFoundException);
00234 
00266    DRMAA::v1_7::Session getSessionByProjUserId(in string projectId, in string userId)
00267    raises ( DRMAA::v1_7::AuthorizationException,  
00268             DRMAA::v1_7::InternalException,
00269             ProjectNotFoundException);
00270 };
00271 
00272 }; // version
00273 
00274 }; // opendreams
00275 
00276 }; // openbus
00277 
00278 }; // tecgraf
00279 
00280 #endif
 Tudo Classes Namespaces Ficheiros Funções Variáveis Definições de tipos Enumerações Valores da enumeração