com.tivoli.twg.cim
Interface iCIMMethodCall

All Known Implementing Classes:
CIMMethodCall

public interface iCIMMethodCall

This interface is intended to provide all of the primitives necessary to implement the Method functions required for CIM. It is implemented as an asynchronous interface, where the caller is required to implement the iCIMMethodCallResponse interface. All primitives, except where specified otherwise, will be considered complete when either the method returns false, or the method returns true and the proper method in the iCIMMethodCallResponse interface is called.

This interface is intended to be implementation neutral, leaving specific environmental concerns as an exercise for the implementor. It is the intention of this design, that any such implementation specific details be kept hidden from the user, and the integrity of this interface be preserved.

See Also:
iCIMMethodCallResponse, aCIMClass, aCIMInstance, aCIMMethod, aCIMProperty, aCIMError

Method Summary
 boolean GetMethodCallInformation(aCIMClass Class, aCIMMethod Method, iCIMMethodCallResponse Owner)
          Query for information regarding a method call.
 boolean InvokeMethodCall(aCIMInstance Inst, aCIMMethod Method, aCIMProperty[] Ins, iCIMMethodCallResponse Owner)
          Invoke a particular method on the supplied instance.
 

Method Detail

GetMethodCallInformation

public boolean GetMethodCallInformation(aCIMClass Class,
                                        aCIMMethod Method,
                                        iCIMMethodCallResponse Owner)
Query for information regarding a method call. This method will return two lists, one for the properties required as input to the method, the other the list of properties that are the output of the method.

Returns:
boolean - Returns True if the operation could be initiated.

See Also:
aCIMClass, aCIMMethod, iCIMMethodCallResponse

InvokeMethodCall

public boolean InvokeMethodCall(aCIMInstance Inst,
                                aCIMMethod Method,
                                aCIMProperty[] Ins,
                                iCIMMethodCallResponse Owner)
Invoke a particular method on the supplied instance.

Returns:
boolean - Returns True if the operation could be initiated.

See Also:
aCIMInstance, aCIMMethod, aCIMProperty, iCIMMethodCallResponse