|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.dmi.DMIInterface
This class implements the iDMIInterface interface for interacting with a DMI V2.0 Service Provider. This particular implementation is designed for use within Tivoli ITD.
iDMIInterface
,
iDMIResponse
Field Summary | |
---|---|
static int |
REQUEST_MODE_FIRST
|
static int |
REQUEST_MODE_NEXT
|
static int |
REQUEST_MODE_UNIQUE
|
static int |
SETMODE_RELEASE
|
static int |
SETMODE_RESERVE
|
static int |
SETMODE_SET
|
Constructor Summary | |
---|---|
DMIInterface(long MOID,
iDMIResponse Owner)
Constructor: Create an instance of the DMIInterface for interacting with a particular client. |
Method Summary | |
---|---|
protected void |
CallBack(iDMIResponse Owner,
com.tivoli.twg.dmi.DMICommand cmd,
java.lang.Object[] DataStore)
Internal function used to handle the asynchronous responses received from the client |
void |
cleanUp()
|
boolean |
DmiGetAttribute(iDMIResponse Owner,
int CompID,
int GroupID,
int AttribID,
DMIAttributeValue[] KeyList)
This method will get the value for a single attribute as described in the DMI V2.0 specification. |
boolean |
DmiGetMultiple(iDMIResponse Owner,
DMI_MultiRow[] Rows)
This method will get the values for multiple attributes as described in the DMI V2.0 specification, as well as allow the listing of rows contained in tabluar groups. |
boolean |
DmiListAttributes(iDMIResponse Owner,
boolean Next,
int MaxCount,
boolean GetPragma,
boolean GetDescription,
int CompID,
int GroupID,
int AttribID)
This method will perform the attribute listing functions as described in the DMI V2.0 specification. |
boolean |
DmiListClassNames(iDMIResponse Owner,
int MaxCount,
int CompID)
This method will list the Class Names contained by the given component as described in the DMI V2.0 specification. |
boolean |
DmiListComponents(iDMIResponse Owner,
boolean Next,
int MaxCount,
boolean GetPragma,
boolean GetDescription,
int CompID)
This method will perform the component listing functions as described in the DMI V2.0 specification. |
boolean |
DmiListComponentsByClass(iDMIResponse Owner,
boolean Next,
int MaxCount,
boolean GetPragma,
boolean GetDescription,
int CompID,
java.lang.String ClassName,
DMIAttributeValue[] KeyList)
This method will perform the component listing functions as described in the DMI V2.0 specification. |
boolean |
DmiListGroups(iDMIResponse Owner,
boolean Next,
int MaxCount,
boolean GetPragma,
boolean GetDescription,
int CompID,
int GroupID)
This method will perform the group listing functions as described in the DMI V2.0 specification. |
boolean |
DmiListLanguages(iDMIResponse Owner,
int MaxCount,
int CompID)
This method will list the Languages supported by the given component as described in the DMI V2.0 specification. |
boolean |
DmiSetAttribute(iDMIResponse Owner,
int CompID,
int GroupID,
DMIAttributeValue[] KeyList,
int SetMode,
DMIAttributeValue Value)
This method will set the value for a single attribute as described in the DMI V2.0 specification. |
boolean |
DmiSetMultiple(iDMIResponse Owner,
int SetMode,
DMI_MultiRow[] Rows)
This method will set the values for multiple attributes as described in the DMI V2.0 specification. |
protected void |
finalize()
private finalizer |
java.lang.String |
GetDescription()
This method will return the Description of the DMI Provider on the client. |
java.lang.String |
GetFileTypeAsString(int x)
This method will translate the file type id to the keyword string defined for it in the specification. |
int[] |
GetFileTypes()
This method will return the FileTypes supported by DMI Provider on the client. |
java.lang.String |
GetSpecLevel()
This method will return the Specification Level of the DMI Provider on the client. |
boolean |
isRegistered()
This method is used to determine if the instance of iDMIInterface is "registered" with the client SP. |
void |
OverRideLocale(java.util.Locale Loc)
This method will allow the user to override the Default locale used when asking the client SP for translatable strings. |
void |
ResetLocal()
This method will allow the user to reset the Locale that is being used to query the client SP for translatable strings, to the default for the JVM that this instance of the interface is running in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SETMODE_SET
public static final int SETMODE_RESERVE
public static final int SETMODE_RELEASE
public static final int REQUEST_MODE_UNIQUE
public static final int REQUEST_MODE_FIRST
public static final int REQUEST_MODE_NEXT
Constructor Detail |
public DMIInterface(long MOID, iDMIResponse Owner)
Method Detail |
public void cleanUp()
public java.lang.String GetSpecLevel()
iDMIInterface
GetSpecLevel
in interface iDMIInterface
NOTE: this method does NOT have an asyncronous response.
iDMIInterface
public java.lang.String GetDescription()
iDMIInterface
GetDescription
in interface iDMIInterface
NOTE: this method does NOT have an asyncronous response.
iDMIInterface
public int[] GetFileTypes()
iDMIInterface
GetFileTypes
in interface iDMIInterface
NOTE: this method does NOT have an asyncronous response.
iDMIInterface
public boolean isRegistered()
iDMIInterface
isRegistered
in interface iDMIInterface
NOTE: this method does NOT have an asyncronous response.
public void OverRideLocale(java.util.Locale Loc)
iDMIInterface
OverRideLocale
in interface iDMIInterface
iDMIInterface
public void ResetLocal()
iDMIInterface
NOTE: this method does NOT have an asyncronous response.
ResetLocal
in interface iDMIInterface
iDMIInterface
public java.lang.String GetFileTypeAsString(int x)
iDMIInterface
GetFileTypeAsString
in interface iDMIInterface
NOTE: this method does NOT have an asyncronous response.
iDMIInterface
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
public boolean DmiListComponents(iDMIResponse Owner, boolean Next, int MaxCount, boolean GetPragma, boolean GetDescription, int CompID)
iDMIInterface
DmiListComponents
in interface iDMIInterface
iDMIInterface
public boolean DmiListGroups(iDMIResponse Owner, boolean Next, int MaxCount, boolean GetPragma, boolean GetDescription, int CompID, int GroupID)
iDMIInterface
DmiListGroups
in interface iDMIInterface
iDMIInterface
public boolean DmiListAttributes(iDMIResponse Owner, boolean Next, int MaxCount, boolean GetPragma, boolean GetDescription, int CompID, int GroupID, int AttribID)
iDMIInterface
DmiListAttributes
in interface iDMIInterface
iDMIInterface
public boolean DmiListLanguages(iDMIResponse Owner, int MaxCount, int CompID)
iDMIInterface
DmiListLanguages
in interface iDMIInterface
iDMIInterface
public boolean DmiListClassNames(iDMIResponse Owner, int MaxCount, int CompID)
iDMIInterface
DmiListClassNames
in interface iDMIInterface
iDMIInterface
public boolean DmiListComponentsByClass(iDMIResponse Owner, boolean Next, int MaxCount, boolean GetPragma, boolean GetDescription, int CompID, java.lang.String ClassName, DMIAttributeValue[] KeyList)
iDMIInterface
DmiListComponentsByClass
in interface iDMIInterface
iDMIInterface
public boolean DmiGetAttribute(iDMIResponse Owner, int CompID, int GroupID, int AttribID, DMIAttributeValue[] KeyList)
iDMIInterface
DmiGetAttribute
in interface iDMIInterface
iDMIInterface
public boolean DmiSetAttribute(iDMIResponse Owner, int CompID, int GroupID, DMIAttributeValue[] KeyList, int SetMode, DMIAttributeValue Value)
iDMIInterface
DmiSetAttribute
in interface iDMIInterface
iDMIInterface
public boolean DmiGetMultiple(iDMIResponse Owner, DMI_MultiRow[] Rows)
iDMIInterface
DmiGetMultiple
in interface iDMIInterface
iDMIInterface
public boolean DmiSetMultiple(iDMIResponse Owner, int SetMode, DMI_MultiRow[] Rows)
iDMIInterface
DmiSetMultiple
in interface iDMIInterface
iDMIInterface
protected void CallBack(iDMIResponse Owner, com.tivoli.twg.dmi.DMICommand cmd, java.lang.Object[] DataStore)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |