Purpose:
Use this class to represent a resource manager in your program. This class provides the facilities to manage the details of a resource manager. This object can be used with DKRMConfigurationMgmtICM to add, update, delete and list resource managers in the ICM datastore.
Since: Version 8
Class summary:
class DKEXPORT DKResourceMgrDefICM { public: DKResourceMgrDefICM(); DKResourceMgrDefICM(const DKResourceMgrDefICM& rmObj); virtual ~DKResourceMgrDefICM(); DKResourceMgrDefICM(const char* name); void setName(const char* name); DKString getName(); void setPlatform(short platform); short getPlatform(); DKString getUserid(); void setLastChanged(const char* lastChanged); DKString getLastChanged(); void setFlags (short flags); short getFlags(); void setINETAddress(const char* inetAddr); DKString getINETAddress(); void setRMCode(short rmCode); short getRMCode(); void setTokenDuration(long duration); long getTokenDuration(); dkCollection* getAccessType(); void setLANCacheEnabled(DKBoolean isLANCache); DKBoolean isLANCacheEnabled(); void addAccessType(DKAccessTypeDef* accessTypeObj); void removeAccessType(const char* name); void setAdminDomain(DKAdminDomainDefICM* domain); DKAdminDomainDefICM* getAdminDomain(); DKString getRMUserid(); void setRMUserid(const char* uid); void setRMPasswd(const char* pwd); };
Members:
DKResourceMgrDefICM();
Default constructor.
DKResourceMgrDefICM(const char* name);
Constructs a new DKResourceMgrDefICM object with a given name as the resource manager name. Parameters: name - name of the resource manager
DKResourceMgrDefICM(const DKResourceMgrDefICM& rmObj);
Copy constructor for the resource manager object related to the ICM datastore. Parameters: rmObj - resource manager object.
virtual ~DKResourceMgrDefICM();
Destructor for this object.
void setName(const char* name);
DKString getName() const;
Parameters: platform - operating system of the machine on which the resource manager runs
void setPlatform(short Platform);
short getPlatform()
DKString getUserId() const;
void setLastChanged(const char* lastChanged);
DKString getLastChanged();
void setFlags(short flags);
short getFlags()
void setINETAddress(const char* inetAddr);
DKString getINETAddress() const;
void setRMCode(short rmCode);
short getRMCode() const;
void setTokenDuration (long duration);
long getTokenDuration();
dkCollection* getAccessType();
void setLANCacheEnabled(DKBoolean isLANCache);
DKBoolean isLANCacheEnabled();
void addAccessType(DKAccessTypeDef* accessTypeObj);
void removeAccessType(const char* name);
void setAdminDomain(DKAdminDomainDefICM* domain);
DKAdminDomainDefICM* getAdminDomain();
DKString getRMUserid();
void setRMUserid (const char* uid);
void setRMPasswd (const char* pwd);
(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.