Public Member Functions | |
Operation (String name, SimpleIntrospectable introspectable, Class returnClass, String[] parameterNames, Class[] parameterTypes, boolean[] mask, boolean invocation, boolean special) | |
SimpleIntrospectable | getIntrospectable () |
boolean[] | getMask () |
String | getName () |
String[] | getParameterNames () |
Class[] | getParameterTypes () |
Class | getReturnType () |
abstract RemoteCall | invoke (Object[] data) |
abstract Invocation | invokeAsync (Object[] data, RemoteResponseCallback cb) |
boolean | isInvocation () |
boolean | isSpecial () |
String | toString () |
Private Member Functions | |
String | getShortParamName (Class param) |
String | getStringParamTypes () |
Private Attributes | |
String | name = null |
SimpleIntrospectable | introspectable = null |
String[] | parameterNames = null |
Class[] | parameterTypes = null |
boolean[] | mask = null |
boolean | special = false |
boolean | invocation = false |
Class | returnClass = null |
java.lang.reflect.Method
instances. A note about the convention on how parameters to the operation are described: each parameter is described by a name, a type and a mask field. These data are stored in arrays of equal length, corresponding indexes describing the same parameter. Only parameters with mask set to true should be processed by the GUI, others are used by the engine to hold "context" parameters, such as callbacks, parameters passed by reference (pointers) to the remote objects, parameters declared as OUT in CORBA etc. GUI implementations must not modify any parameter values that declare false
in the mask.
|
Constructs a new instance of an operation.
|
|
Returns the introspectable instance that declares this method. Returns the same value as was passed to the constructor.
|
|
Returns the mask value for each argument / parameter to this method. GUIs should only process (query the user for values) only those parameters that declare
|
|
Returns the name of this operation, as it should be displayed to the user.
|
|
Returns the parameter names array. This is the same value as was passed to the constructor.
|
|
Returns the array of parameter types for each parameter to this operation. Note that if parameters are of complex types and it is desired for the GUI to be able to query users for their values and construct instances described by this classes, the classes must declare a public constructor that takes all parameters that have to be supplied to instantiate a type.
|
|
Returns the array of parameter types for each parameter to this operation. Note that if parameters are of complex types and it is desired for the GUI to be able to query users for their values and construct instances described by this classes, the classes must declare a public constructor that takes all parameters that have to be supplied to instantiate a type.
|
|
Returns short name of the given Class object Creation date: (13.5.2001 12:09:49)
|
|
Returns the parameter types of this operation as they should be displayed by the GUI.
|
|
Invokes this operation. The method returns a remote call data struture that will pack the input parameters, return values and possible exceptions of the call. Note: this method should only be used to invoke synchronous operations, ie. operations that do not create
Implemented in si::ijs::acs::objectexplorer::engine::ANKA::BACIOperation, si::ijs::acs::objectexplorer::engine::BACI::BACIOperation, and si::ijs::acs::objectexplorer::engine::BACI::BACIOperation.
|
|
Invokes an asynchronous operation on the introspectable instane. The method produces an invocation instance as a side-effect. Note that because invocations are asynchronous, a callback parameter is required to receive the asynchronous responses. Use this model for monitors, alarms, event notifications and similar designs.
Implemented in si::ijs::acs::objectexplorer::engine::ANKA::BACIOperation, si::ijs::acs::objectexplorer::engine::BACI::BACIOperation, and si::ijs::acs::objectexplorer::engine::BACI::BACIOperation.
|
|
Returns
|
|
Returns
|
|
Returns the display name of this operation with its parameter types in brackets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|