|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is the "Remote" interface for the EventSessionBean. Using the EventSessionBean (the associated EJBean), both CustomView related operations and EventAPI related operations can be performed.
CustomSessionRemote| Method Summary | |
int |
getCleanEventInterval(java.lang.String userName)
Gets the CLEAN_EVENT_INTERVAL value in days. |
int |
getEventWindowSize(java.lang.String userName)
Gets the Event Window size configured in Web NMS. |
java.util.Vector |
getObjects(java.lang.String userName,
java.lang.String classname,
java.util.Properties match)
Gets the Vector of objects matching the given properties. |
int |
getTotalEventCount(java.lang.String userName)
Returns the total number of Events in the WebNMS system. |
int[] |
getTrapPort(java.lang.String userName)
Returns the port numbers on which EventMgr is listening for traps. |
void |
setCleanEventInterval(java.lang.String userName,
int CLEAN_EVENT_INTERVAL)
This method sets the CLEAN_EVENT_INTERVAL value. |
| Methods inherited from interface com.adventnet.nms.fe.common.ejb.CustomSessionRemote |
createCustomView, createCustomView, getAllViewIDsAndProps, getData, getObjectNamesWithProps, getPropertiesOfObject, getTotalCount, getTotalCount, getTotalCount, getViewProperties, modifyCustomView, removeCustomView, renameCustomView, saveViewState |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public int[] getTrapPort(java.lang.String userName)
throws java.rmi.RemoteException
userName - the userName as ticket for authentication and loggingjava.rmi.RemoteException - if error occurs at remote machine.
public int getCleanEventInterval(java.lang.String userName)
throws java.rmi.RemoteException
userName - the userName as ticket for authentication and loggingjava.rmi.RemoteException - if error occurs at remote machine.
public void setCleanEventInterval(java.lang.String userName,
int CLEAN_EVENT_INTERVAL)
throws java.rmi.RemoteException
userName - the userName as ticket for authentication and loggingCLEAN_EVENT_INTERVAL - Cutoff time in days. Events older than this value, will be deleted by Web NMS.java.rmi.RemoteException - if error occurs at remote machine.
public int getTotalEventCount(java.lang.String userName)
throws java.rmi.RemoteException
userName - the userName as ticket for authentication and loggingjava.rmi.RemoteException - if error occurs at remote machinejava.rmi.RemoteException - if error occurs at remote machine.
public java.util.Vector getObjects(java.lang.String userName,
java.lang.String classname,
java.util.Properties match)
throws java.rmi.RemoteException
classname - Classname of the objects which have to be retrivedmatch - matching criteriauserName - the userName as ticket for authentication and loggingjava.rmi.RemoteException - if error occurs at remote machine
public int getEventWindowSize(java.lang.String userName)
throws java.rmi.RemoteException,
NmsStorageException
userName - the userName as ticket for authentication and loggingjava.rmi.RemoteException - if error occurs at remote machineNmsStorageException - if error occurs.
|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||