com.tivoli.twg.dmi
Interface iDMIResponse


public interface iDMIResponse

This interface is designed to work in conjunction with iDMIInterface. It is to be implemented by user of that interface to allow the results to be communicated back. Since all operations of the iDMIInterface complete asyncronously, the methods of this interface act as callback or response handlers. For coorelation purposes, each method carries a refenerence to the the instance of the iDMIInterface that originated the request.

See Also:
iDMIInterface, DMIAttribute, DMIComponent, DMIGroup, DMIAttribute, DMIClassInfo, DMIAttributeValue, DMI_MultiRow

Method Summary
 void DMIError(DMIInterface Caller, int DMIStatus)
          Called by the DMI handler when a Complete failure has occured.
 void DMIGetResponse(DMI_MultiRow[] Values, int RC, DMIInterface Caller)
          Called by the DMI handler when a DmiGetMultiple call has completed.
 void DMIGetResponse(DMIAttributeValue Value, int RC, DMIInterface Caller)
          Called by the DMI handler when a DmiGetAttribute call has completed.
 void DMIListAttribute(DMIAttribute[] Attributes, int RC, DMIInterface Caller)
          Called by the DMI handler when a DmiListAttributes call has completed.
 void DMIListClasses(com.tivoli.twg.dmi.DMIClassInfo[] Classes, int RC, DMIInterface Caller)
          Called by the DMI handler when a DmiListClassNames call has completed.
 void DMIListComponent(DMIComponent[] Components, int RC, DMIInterface Caller)
          Called by the DMI handler when a DmiListComponents or DmiListComponentsByClass call has completed.
 void DMIListGroup(DMIGroup[] Groups, int RC, DMIInterface Caller)
          Called by the DMI handler when a DmiGroups call has completed.
 void DMIListLanguage(java.lang.String[] Langauges, int RC, DMIInterface Caller)
          Called by the DMI handler when a DmiListLanguages call has completed.
 void DMIRegisterReady(DMIInterface Caller)
          Called by the DMI handler when the Registration completes, and the interface is ready for use.
 void DMISetResponse(int RC, DMIInterface Caller)
          Called by the DMI handler when a DmiSetAttribute or DmiSetMultiple call has completed.
 

Method Detail

DMIRegisterReady

public void DMIRegisterReady(DMIInterface Caller)
Called by the DMI handler when the Registration completes, and the interface is ready for use.

See Also:
iDMIInterface

DMIListComponent

public void DMIListComponent(DMIComponent[] Components,
                             int RC,
                             DMIInterface Caller)
Called by the DMI handler when a DmiListComponents or DmiListComponentsByClass call has completed.

See Also:
iDMIInterface, DMIComponent, DMICodes

DMIListGroup

public void DMIListGroup(DMIGroup[] Groups,
                         int RC,
                         DMIInterface Caller)
Called by the DMI handler when a DmiGroups call has completed.

See Also:
iDMIInterface, DMIGroup, DMICodes

DMIListAttribute

public void DMIListAttribute(DMIAttribute[] Attributes,
                             int RC,
                             DMIInterface Caller)
Called by the DMI handler when a DmiListAttributes call has completed.

See Also:
iDMIInterface, com.tivoli.twg.dmi.DMIAttributes, DMICodes

DMIListLanguage

public void DMIListLanguage(java.lang.String[] Langauges,
                            int RC,
                            DMIInterface Caller)
Called by the DMI handler when a DmiListLanguages call has completed.

See Also:
iDMIInterface, DMICodes

DMIListClasses

public void DMIListClasses(com.tivoli.twg.dmi.DMIClassInfo[] Classes,
                           int RC,
                           DMIInterface Caller)
Called by the DMI handler when a DmiListClassNames call has completed.

See Also:
iDMIInterface, DMIClassInfo, DMICodes

DMIGetResponse

public void DMIGetResponse(DMIAttributeValue Value,
                           int RC,
                           DMIInterface Caller)
Called by the DMI handler when a DmiGetAttribute call has completed.

See Also:
iDMIInterface, DMIAttributeValue, DMICodes

DMIGetResponse

public void DMIGetResponse(DMI_MultiRow[] Values,
                           int RC,
                           DMIInterface Caller)
Called by the DMI handler when a DmiGetMultiple call has completed.

See Also:
iDMIInterface, DMI_MultiRow, DMIAttributeValue, DMICodes

DMISetResponse

public void DMISetResponse(int RC,
                           DMIInterface Caller)
Called by the DMI handler when a DmiSetAttribute or DmiSetMultiple call has completed.

See Also:
iDMIInterface, DMICodes

DMIError

public void DMIError(DMIInterface Caller,
                     int DMIStatus)
Called by the DMI handler when a Complete failure has occured.

See Also:
iDMIInterface, DMICodes