| Return Type | Method Summary |
| CHAR | CreateAndAddManagerTableEntry(OID *instance, INT32 instanceLen, INT32 managerHostType, CHAR *managerHost, U_INT32 managerPort, INT32 managerVersion, CHAR *community, CHAR *userName, INT32 secModel, INT32 secLevel, U_CHAR *contextName, INT32 contextNameLen, U_INT32 timeOut, U_INT32 retries, INT32 managerStatus, Vector *managerVector) or
CHAR CreateAndAddManagerTableEntry(OID *instance, INT32 instanceLen, INT32 managerHostType, CHAR *managerHost, U_INT32 managerPort, INT32 managerVersion, CHAR *community, U_INT32 timeOut, U_INT32 retries, INT32 managerStatus, Vector *managerVector)
It will take all columns value and its instance value as input and add create an Entry then add it to the Vector. |
| CHAR | CreateManagerEntry(INT32 managerHostType, CHAR *managerHost, U_INT32 managerPort, INT32 managerVersion, CHAR *community, CHAR *userName, INT32 secModel, INT32 secLevel, U_CHAR *contextName, INT32 contextNameLen, U_INT32 timeOut, U_INT32 retries, INT32 managerStatus) or
CHAR CreateManagerEntry(INT32 managerHostType, CHAR *managerHost, U_INT32 managerPort, INT32 managerVersion, CHAR *community, U_INT32 timeOut, U_INT32 retries, INT32 managerStatus)
It will take all columns value as input and create an instance then add it to the Vector. |
| CHAR | CreateManagerEntryForManagerVector(INT32 managerHostType, CHAR *managerHost, U_INT32 managerPort, INT32 managerVersion, CHAR *community, CHAR *userName, INT32 secModel, INT32 secLevel, U_CHAR *contextName, INT32 contextNameLen, U_INT32 timeOut, U_INT32 retries, INT32 managerStatus, Vector *managerVector) or
CHAR CreateManagerEntryForManagerVector(INT32 managerHostType, CHAR *managerHost, U_INT32 managerPort, INT32 managerVersion, CHAR *community, U_INT32 timeOut, U_INT32 retries, INT32 managerStatus, Vector *managerVector)
It will take all columns value as input and create an instance then add it to the Vector. |
| void* | CreateManagerTableRowWithDefaultValues(U_CHAR **indexList, INT32 *indexListLen, INT32 len)
It will create a new row and assign default value for each table column. |
| CHAR | DeleteManagerEntry(CHAR *userName, INT32 managerHostType, CHAR *managerHost, U_INT32 portNum) or
CHAR DeleteManagerEntry(INT32 managerHostType, CHAR * managerHost, U_INT32 portNum)
Deletes an object from the manger list. |
| void | FreeManagerTableEntryMemory(Entry *entryPtr)
It will free the reserved memeory for an Entry. |
| void | InitManagerTable()
It will register the manager treeCell with tree of agent and initialize all data structures related to the module managerTable. |
| U_CHAR* | ManagerTableProcessReadReq(U_CHAR pduType, OID *reqOid, INT32 *reqOidLen, INT32 *varValLen, U_CHAR *status)
It will process the GET & GET-NEXT requests and send back the appropriate result. |
| U_CHAR* | ManagerTableProcessWriteReq(INT32 pduVersion, OID *reqOid, INT32 reqOidLen, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
It will process the SET requests and send back the modified result. |
| U_CHAR* | ReadCommunity(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column community. |
| U_CHAR* | ReadContextName(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column contextName. |
| CHAR | ReadFromManagerTableFile()
It will read the table enteries from the file and add it to the Vector. |
| U_CHAR* | ReadManagerHost(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column managerHost. |
| U_CHAR* | ReadManagerHostType(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column managerHostType. |
| U_CHAR* | ReadManagerPort(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column managerPort. |
| U_CHAR* | ReadManagerStatus(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column managerStatus. |
| U_CHAR | ReadManagerTableEntry(U_CHAR ***cols, INT32 index)
|
| Vector* | ReadManagerTableInfo(INT32 startIdx, INT32 numOfRows, INT32 *flag)
It will return the table Vector reference, before that it will verify the total size of the table and set flag value. |
| U_CHAR* | ReadManagerVersion(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column managerVersion. |
| U_CHAR* | ReadRetries(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column retries. |
| U_CHAR* | ReadSecLevel(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column secLevel. |
| U_CHAR* | ReadSecModel(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column secModel. |
| U_CHAR* | ReadTimeOut(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column timeOut. |
| U_CHAR* | ReaduserName(void *tableEntryPtr, INT32 *varValLen, U_CHAR *status)
Read method for (table) column userName. |
| CHAR | UpdateManagerTableFile(U_CHAR command)
It will update the changes of ManagerTableFile. |
| U_CHAR* | WriteCommunity(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column community. |
| U_CHAR* | WriteContextName(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column contextName. |
| U_CHAR* | WriteManagerStatus(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column managerStatus. |
| U_CHAR* | WriteManagerVersion(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column ManagerVersion. |
| U_CHAR* | WriteRetries(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column retries. |
| U_CHAR* | WriteSecLevel(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column secLevel. |
| U_CHAR* | WriteSecModel(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column secModel. |
| U_CHAR* | WriteTimeOut(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column timeOut. |
| CHAR | WriteToManagerTableFile()
It will write the table enteries from the Vector into the file. |
| U_CHAR* | WriteUserName(void *tableEntryPtr, U_CHAR *varVal, INT32 *varValLen, U_CHAR *status)
Write method for (table) column userName. |
| Method Details |