VLab Common 1.2

pl.psnc.vlab.remote.util
Class VlabRemoteKeys

java.lang.Object
  extended by pl.psnc.vlab.remote.util.VlabRemoteKeys

public class VlabRemoteKeys
extends java.lang.Object

This class contains operations ids which are sent to the vlab modules

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Field Summary
static int BIG_ENDIAN
          Soap byte order: Big Endian
static int GLOBALSCHED_ADD_COMP_TASK
          Operation: adds computational task
static int GLOBALSCHED_ADD_DRYER_TASK
          Operation: adds radiotelescope task
static int GLOBALSCHED_ADD_NMR_TASK
          Operation: adds NMR task
static int GLOBALSCHED_ADD_RADIO_TASK
          Operation: adds radiotelescope task
static int LITTLE_ENDIAN
          Soap byte order: Little Endian
static int MONITORING_ADD_COMP_TASK
          Operation: adds computational task
static int MONITORING_ADD_DRYER_TASK
          Operation: adds dryer task
static int MONITORING_ADD_NMR_TASK
          Operation: adds NMR task
static int MONITORING_ADD_PROXY_FOR_SCENARIO
          Operation: adds proxy for scenario
static int MONITORING_ADD_RADIO_TASK
          Operation: adds radiotelescope task
static int MONITORING_ADD_SCENARIO
          Operation: adds scenario
static int MONITORING_GET_SESSION
          Operation: retrieve app session information by a given session key
static int MONITORING_GET_TIMEZONE_BY_USERID
          Operation: gets timezone by user id
static int MONITORING_GET_USER_PROXY
          Operation: get user proxy
static int MONITORING_GET_VNC_CONF
          Operation: get the viewer configuration file
static int MONITORING_IS_SESSION_VALID
          Operation: checks if the app session is valid
static int MONITORING_REM_PROXY_FOR_SCENARIO
          Operation: removes proxy for scenario
static int MONITORING_REMOVE_SESSION
          Operation: deletes the user app session
static int MONITORING_SET_SCENARIO_FLAG_DELETE
          Operation: sets delete flag for scenario
static int MONITORING_SET_TASK_STATUS
          Operation: set new task status
static int MONITORING_UPDATE_SESSION
          Operation: updates the app session timestamp
static int OPERATION_STATUS_CALL
          Call remote service
static int OPERATION_STATUS_ERROR
          Error in call
static int OPERATION_STATUS_OK
          Call OK
static int SMM_NMR_TASK_ENDED
          Operation: NMR task ended
static int SMM_SCENARIO_SUBMISSION
          Operation: scenario submission
static int SMM_TERMINATE_SCENARIO
          Operation: terminate scenario
static int SZD_ADD_DIR
          Operation: SZD add directory
static int SZD_FIND_USER_ELEMENTS
          Operation: SZD find user elements
static int SZD_GET_FILE_ELEM_INFO
          Operation: SZD get element info
static int SZD_LIST_DIR
          Operation: SZD list directory
static int SZD_OPERATION_LOGIN_CERT
          Operation: SZD find user elements
static int VL_ACCTSYSTEM_ID
          Accounting module
static int VL_AUTHCENTER_ID
          Autehtication center
static int VL_CLIENT_ID
          Portal client module
static int VL_COMMPROXY_ID
          Communication Proxy module
static int VL_DMSCENARIOS_ID
          DMS module
static int VL_GLOBALSCHED_ID
          Global scheduler
static int VL_GRIDGATE_ID
          Gatway to the GRID system
static int VL_JOBSUBMEXP_ID
          Job submission module
static int VL_LOCALMONIT_ID
          Local monitoring
static int VL_LOCALSCHED_ID
          Local scheduler
static int VL_MONITSYSTEM_ID
          Monitoring module
static int VL_POSTPROC_ID
          Postprocessing module
static int VL_SCEN_SUB_ID
          Scenarion submittion module
static int VL_TRANSMOD_ID
          The SZD client (Transportation module)
static int VLAB_ASYNC
          asynchronous communication
static int VLAB_SYNC
          Synchronous communication
 
Constructor Summary
VlabRemoteKeys()
           
 
Method Summary
protected static int globalSchedASych(java.lang.String operationId)
          Helper method for smm.
protected static int globalSchedSych(java.lang.String operationId)
          Helper method for globalSched module.
protected static int monitoringASych(java.lang.String operationId)
          Helper method for monitoring module.
protected static int monitoringSych(java.lang.String operationId)
          Helper method for monitoring module.
protected static int operationDecoder(int moduleId, int operationType, java.lang.String operationId)
          Metohod to decode operation id to the VLAB format.
protected static int smmASych(java.lang.String operationId)
          Helper method for smm.
protected static int smmSych(java.lang.String operationId)
          Helper method for smm module.
protected static int szdASych(java.lang.String operationId)
          Helper method for szd.
protected static int szdSych(java.lang.String operationId)
          Helper method for szd module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LITTLE_ENDIAN

public static final int LITTLE_ENDIAN
Soap byte order: Little Endian

See Also:
Constant Field Values

BIG_ENDIAN

public static final int BIG_ENDIAN
Soap byte order: Big Endian

See Also:
Constant Field Values

OPERATION_STATUS_CALL

public static final int OPERATION_STATUS_CALL
Call remote service

See Also:
Constant Field Values

OPERATION_STATUS_ERROR

public static final int OPERATION_STATUS_ERROR
Error in call

See Also:
Constant Field Values

OPERATION_STATUS_OK

public static final int OPERATION_STATUS_OK
Call OK

See Also:
Constant Field Values

VL_CLIENT_ID

public static final int VL_CLIENT_ID
Portal client module

See Also:
Constant Field Values

VL_COMMPROXY_ID

public static final int VL_COMMPROXY_ID
Communication Proxy module

See Also:
Constant Field Values

VL_DMSCENARIOS_ID

public static final int VL_DMSCENARIOS_ID
DMS module

See Also:
Constant Field Values

VL_GLOBALSCHED_ID

public static final int VL_GLOBALSCHED_ID
Global scheduler

See Also:
Constant Field Values

VL_LOCALSCHED_ID

public static final int VL_LOCALSCHED_ID
Local scheduler

See Also:
Constant Field Values

VL_AUTHCENTER_ID

public static final int VL_AUTHCENTER_ID
Autehtication center

See Also:
Constant Field Values

VL_MONITSYSTEM_ID

public static final int VL_MONITSYSTEM_ID
Monitoring module

See Also:
Constant Field Values

VL_ACCTSYSTEM_ID

public static final int VL_ACCTSYSTEM_ID
Accounting module

See Also:
Constant Field Values

VL_GRIDGATE_ID

public static final int VL_GRIDGATE_ID
Gatway to the GRID system

See Also:
Constant Field Values

VL_JOBSUBMEXP_ID

public static final int VL_JOBSUBMEXP_ID
Job submission module

See Also:
Constant Field Values

VL_POSTPROC_ID

public static final int VL_POSTPROC_ID
Postprocessing module

See Also:
Constant Field Values

VL_LOCALMONIT_ID

public static final int VL_LOCALMONIT_ID
Local monitoring

See Also:
Constant Field Values

VL_TRANSMOD_ID

public static final int VL_TRANSMOD_ID
The SZD client (Transportation module)

See Also:
Constant Field Values

VL_SCEN_SUB_ID

public static final int VL_SCEN_SUB_ID
Scenarion submittion module

See Also:
Constant Field Values

VLAB_SYNC

public static final int VLAB_SYNC
Synchronous communication

See Also:
Constant Field Values

VLAB_ASYNC

public static final int VLAB_ASYNC
asynchronous communication

See Also:
Constant Field Values

MONITORING_GET_SESSION

public static final int MONITORING_GET_SESSION
Operation: retrieve app session information by a given session key


MONITORING_IS_SESSION_VALID

public static final int MONITORING_IS_SESSION_VALID
Operation: checks if the app session is valid


MONITORING_GET_USER_PROXY

public static final int MONITORING_GET_USER_PROXY
Operation: get user proxy


MONITORING_REMOVE_SESSION

public static final int MONITORING_REMOVE_SESSION
Operation: deletes the user app session


MONITORING_UPDATE_SESSION

public static final int MONITORING_UPDATE_SESSION
Operation: updates the app session timestamp


MONITORING_SET_TASK_STATUS

public static final int MONITORING_SET_TASK_STATUS
Operation: set new task status


MONITORING_GET_VNC_CONF

public static final int MONITORING_GET_VNC_CONF
Operation: get the viewer configuration file


SZD_OPERATION_LOGIN_CERT

public static final int SZD_OPERATION_LOGIN_CERT
Operation: SZD find user elements


SZD_ADD_DIR

public static final int SZD_ADD_DIR
Operation: SZD add directory


SZD_GET_FILE_ELEM_INFO

public static final int SZD_GET_FILE_ELEM_INFO
Operation: SZD get element info


SZD_LIST_DIR

public static final int SZD_LIST_DIR
Operation: SZD list directory


SZD_FIND_USER_ELEMENTS

public static final int SZD_FIND_USER_ELEMENTS
Operation: SZD find user elements


SMM_SCENARIO_SUBMISSION

public static final int SMM_SCENARIO_SUBMISSION
Operation: scenario submission


SMM_NMR_TASK_ENDED

public static final int SMM_NMR_TASK_ENDED
Operation: NMR task ended


SMM_TERMINATE_SCENARIO

public static final int SMM_TERMINATE_SCENARIO
Operation: terminate scenario


MONITORING_ADD_NMR_TASK

public static final int MONITORING_ADD_NMR_TASK
Operation: adds NMR task


MONITORING_ADD_COMP_TASK

public static final int MONITORING_ADD_COMP_TASK
Operation: adds computational task


MONITORING_ADD_RADIO_TASK

public static final int MONITORING_ADD_RADIO_TASK
Operation: adds radiotelescope task


MONITORING_ADD_DRYER_TASK

public static final int MONITORING_ADD_DRYER_TASK
Operation: adds dryer task


MONITORING_ADD_SCENARIO

public static final int MONITORING_ADD_SCENARIO
Operation: adds scenario


MONITORING_ADD_PROXY_FOR_SCENARIO

public static final int MONITORING_ADD_PROXY_FOR_SCENARIO
Operation: adds proxy for scenario


MONITORING_REM_PROXY_FOR_SCENARIO

public static final int MONITORING_REM_PROXY_FOR_SCENARIO
Operation: removes proxy for scenario


MONITORING_SET_SCENARIO_FLAG_DELETE

public static final int MONITORING_SET_SCENARIO_FLAG_DELETE
Operation: sets delete flag for scenario


MONITORING_GET_TIMEZONE_BY_USERID

public static final int MONITORING_GET_TIMEZONE_BY_USERID
Operation: gets timezone by user id


GLOBALSCHED_ADD_NMR_TASK

public static final int GLOBALSCHED_ADD_NMR_TASK
Operation: adds NMR task


GLOBALSCHED_ADD_COMP_TASK

public static final int GLOBALSCHED_ADD_COMP_TASK
Operation: adds computational task


GLOBALSCHED_ADD_RADIO_TASK

public static final int GLOBALSCHED_ADD_RADIO_TASK
Operation: adds radiotelescope task


GLOBALSCHED_ADD_DRYER_TASK

public static final int GLOBALSCHED_ADD_DRYER_TASK
Operation: adds radiotelescope task

Constructor Detail

VlabRemoteKeys

public VlabRemoteKeys()
Method Detail

operationDecoder

protected static final int operationDecoder(int moduleId,
                                            int operationType,
                                            java.lang.String operationId)
Metohod to decode operation id to the VLAB format. The VLab operation id has the following format : XX_X_XXX , where XX - receiver id X - type of the comunication (synch or asych) XXX - operation id

Parameters:
moduleId -
operationType -
operationId -
Returns:
operation id

monitoringSych

protected static final int monitoringSych(java.lang.String operationId)
Helper method for monitoring module. Decode synchronous call to the monitoring system with the given operation id. The operations identifiers are defined by the static fields in the VlabRemoteKeys

Parameters:
operationId - operation identifier, which will be done by the monitoring system
Returns:
full operation identifier (compilant to the VLab format)

monitoringASych

protected static final int monitoringASych(java.lang.String operationId)
Helper method for monitoring module. Decode asynchronous call to the monitoring system with the given operation id. The operations identifiers are defined by the static fields in the VlabRemoteKeys

Parameters:
operationId - operation identifier, which will be done by the monitoring system
Returns:
full operation identifier (compilant to the VLab format)

globalSchedSych

protected static final int globalSchedSych(java.lang.String operationId)
Helper method for globalSched module. Decode synchronous call to the globalSched with the given operation id. The operations identifiers are defined by the static fields in the VlabRemoteKeys

Parameters:
operationId - operation identifier, which will be done by the monitoring system
Returns:
full operation identifier (compilant to the VLab format)

globalSchedASych

protected static final int globalSchedASych(java.lang.String operationId)
Helper method for smm. Decode asynchronous call to the globalSched with the given operation id. The operations identifiers are defined by the static fields in the VlabRemoteKeys

Parameters:
operationId - operation identifier, which will be done by the monitoring system
Returns:
full operation identifier (compilant to the VLab format)

szdSych

protected static final int szdSych(java.lang.String operationId)
Helper method for szd module. Decode synchronous call to the smm with the given operation id. The operations identifiers are defined by the static fields in the VlabRemoteKeys

Parameters:
operationId - operation identifier, which will be done by the monitoring system
Returns:
full operation identifier (compilant to the VLab format)

szdASych

protected static final int szdASych(java.lang.String operationId)
Helper method for szd. Decode asynchronous call to the smm with the given operation id. The operations identifiers are defined by the static fields in the VlabRemoteKeys

Parameters:
operationId - operation identifier, which will be done by the monitoring system
Returns:
full operation identifier (compilant to the VLab format)

smmSych

protected static final int smmSych(java.lang.String operationId)
Helper method for smm module. Decode synchronous call to the smm with the given operation id. The operations identifiers are defined by the static fields in the VlabRemoteKeys

Parameters:
operationId - operation identifier, which will be done by the monitoring system
Returns:
full operation identifier (compilant to the VLab format)

smmASych

protected static final int smmASych(java.lang.String operationId)
Helper method for smm. Decode asynchronous call to the smm with the given operation id. The operations identifiers are defined by the static fields in the VlabRemoteKeys

Parameters:
operationId - operation identifier, which will be done by the monitoring system
Returns:
full operation identifier (compilant to the VLab format)

VLab Common 1.2

Copyright 2004 by VLAB Dominik Stoklosa.