| Return Type | Method Summary |
| CHAR | CreateAndAddNewSessionTableEntry(INT32 sessionid, U_CHAR *ipaddress, INT32 portno, INT32 sessionstate, INT32 numrequests, INT32 numresponses, CHAR *lastDatetime)
It will take all columns value as input and create an instance then add it to the vector. |
| CHAR | CreateAndAddSessionTableEntry(OID *instance, INT32 instanceLen, INT32 sessionid, U_CHAR *ipaddress, INT32 portno, INT32 sessionstate, INT32 numrequests, INT32 numresponses, CHAR *lastDatetime)
It will take all columns value and its instance value as input and add create an entry then add it to the vector. |
| OID* | CreateSessionTableInstance(INT32 *instanceLen, INT32 sessionid)
This method is called from the method CreateAndAddNewSessionTableTableEntry(). |
| void | FreeSessionTableEntryMemory(Entry *entryPtr)
This method is called from FreeSessionTableVector(). |
| void | FreeSessionTableVector()
Free the gv_sessionTableVector. |
| Vector* | GetSessionTableInfo(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. |
| void | InitSessionTable()
It will register the treeCell with agent and initialize all data structures related to the module "sessionTable". |
| CHAR | SessionTableProcessRequests(U_CHAR protoType, U_CHAR cmdType, Vector *attrbsVect, INT32 numOfRows)
This method will be called from the agent api for all the requests (GET/GET-NEXT/SET) with received pduType and varBind vector before processing the received varbinds. |
| CHAR | UpdateSessionTable(U_CHAR command)
This method will be called from the agent api after successful SET/GET/GET-NEXT operation, in order to update the original or user application's data structrue with the changes made to SessionTable. |
| Method Details |