The file CSTM_Common.idl contains the following modules:
com
cisco::com
nms::cisco
cstm_server::nms
CSTM_Common::cstm_server
Module com
Data Structures and Types
CSTMResultInfo Structure
The CSTMResultInfo structure is used by IDL calls to return the result of an operation.
Usage
struct CSTMResultInfo
{
long return_code;
string return_str;
};
Members
return_code 0 = SUCCESS, non-zero = ERROR.
return_str indicates the error message in the event of non-zero return_code.
CSTMUserInfo Structure
The CSTMUserInfo structure is used by IDL calls to track who invoked the call, who locked it and locking/unlocking the template/datafiles for a given user.
Usage
struct CSTMUserInfo
{
string userId;
string password;
};
Members
userIdthis field indicates the username.
passwordthis field indicates the user password.
Constants
const long CSTM_DATAFILE_ALREADY_EXIST = 120006
const long CSTM_DATAFILE_DOESNOT_EXIST = 120005
const string CSTM_ERR_DATA_VALIDATION = "Data Validation Failed on Datafile:"
const string CSTM_ERR_DATAFILE_LOCKED = "Datafile Locked by User: "
const string CSTM_ERR_INVALID_DATATYPE = "Type of Data is neither String nor ArrayList:"