| Return Type | Method Summary |
| CHAR | AddCounterMonitorNotificationListener(Vector *table, NotificationListener *listener, NotificationFilter *filter, CHAR *handback)
It will create an listener and add it to the given table. |
| U_LONG | CreateCounterMonitor(CounterMonitorInfo *info, NotificationListener *listener, NotificationFilter *filter, CHAR *handback)
It will create a counter monitor with given monitor info and add it to the counter monitor table. |
| CounterMonitorInfo* | CreateCounterMonitorInfo(ObjectName *objName, CHAR *attrbName, U_LONG thersold, U_LONG offset, U_LONG modulus, U_CHAR diffModeFlag, U_CHAR notifyFlag, U_LONG granularityPeriod, void *tableEntry, CHAR *message)
It will create a Counter Monitor info using the given information. |
| Notification* | CreateCounterMonitorNotification(CounterMonitorInfo *info, U_INT32 type)
It will create Counter Monitor notification with the given information. |
| Monitor* | GetCounterMonitor(U_LONG id)
It will retrive the Counter Monitor corresponding to the given ID. |
| void | InitCounterMonitor()
Initialize the variables and data structures related to Counter Monitor Service after successful registration with Agent Server. |
| void | PollCounterMonitorQueAndSendNotification()
It will take each Entry in the gv_counterMonitorTable and check the GP value, if reached then it will check the observed Attribute value. |
| CHAR | RemoveCounterMonitorNotificationListener(Vector *table, NotificationListener *listener, CHAR *handback)
It will unregister the given listener and handback from given table. |
| void | RemoveCounterMonitorTable()
It will free all the resources allocated for the creation of a counter monitor table and removes all the listeners registered with it. |
| void | SendCounterMonitorNotification(Vector *table, Notification *notif)
It will broadcast the given Notification to all the registered listeners of the given table. |
| void | StartCounterMonitorService()
It will start the Counter Monitor Service. |
| void | StopCounterMonitorService()
It will stop the Counter Monitor Service. |
| Method Details |