|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.adventnet.nms.extranet.remote.communication.fw.noc.SPPNOCHandler
This class is referred by the modules in the Central Server to register with the communication framework for receiving data and to send the data to the DMS.
| Fields inherited from interface com.adventnet.nms.extranet.remote.communication.fw.DataTransferID |
ALERT, APPLN_DATA, COLLECT_DATA, COLLECTED_INFO, COMMAND, CONF_UPDATE, CONFIG, DATA_ACK, DOWNLOAD_REQUEST, EVENT, ID_REQUEST, INETSERVICE, MIBBROWSER, PATCH_VERSION, POLLED_DATA, PROBE_STATUS, REGIONAL_SHUTDOWN, SYSLOG, TOPOLOGY |
| Method Summary | |
int |
getBufferSize()
Returns the size of the data buffer. |
java.util.Hashtable |
getCommTable()
Returns the entire communication table. |
static SPPNOCHandler |
getInstance()
This method gets the reference of a SPPNOCHandler object. |
java.util.HashMap |
getProbeDetails(java.lang.String probeName)
* Returns the details(FP & SP details) of the Probe. |
com.adventnet.nms.extranet.remote.communication.fw.noc.SPPNOCSession |
getSession(java.lang.String regionID)
This method gets the reference of a SPPNOCSession object corresponding to the ID of the DMS. |
DataObject |
getStoredData(java.lang.String regionID)
Returns the stored data corresponding to the DMS of the given ID. |
long |
getTimeDiff(java.lang.String regionID)
Returns the difference in time, in seconds, between the Central Server and the distributed mediation server with the given ID. |
protected boolean |
isValidProbe(java.lang.String probeName)
Checks if the DMS name is valid. |
org.w3c.dom.Element |
processIdRequest(org.w3c.dom.Element root)
Processes the requests from the DMS. |
DataObject |
processPatchVersionRequest(org.w3c.dom.Element elem)
Processes Patch version request from the DMS. |
DataObject |
processRegionIdRequest(org.w3c.dom.Element root)
Processes the requests from the DMS. |
void |
publish(DataObject dataObject,
java.lang.String regionID)
Data received from the distributed mediation servers are published to the registered modules. |
void |
reInitialize()
This method performs reinitialization. |
void |
removeSession(java.lang.String regionID)
Removes the session corresponding to the DMS of the given ID from communication table. |
boolean |
sendDataToPeer(java.lang.String regionID,
DataObject dataObj,
int notificationType)
The DataObject that needs to be transfered to the Central Server from the modules in the DMS can be sent through this method. |
boolean |
sendDataToPeer(java.lang.String regionID,
DataObject dataObj,
int notificationType,
boolean sendImmediately)
The DataObject that needs to be transfered to the Central Server from the modules in the DMS can be sent through this method. |
DataObject |
sendPatchVersionResponse(java.lang.String response,
java.lang.String message)
Sends response about the patch version to DMS. |
DataObject |
sendShutdownResponse()
Directs the DMS to shutdown. |
void |
setProbeDetails(java.lang.String probeName,
java.util.HashMap probeDetails)
Setting the Probe's FP & SP details |
void |
shutDown()
Shuts down the Central Server threads. |
| Method Detail |
public static SPPNOCHandler getInstance()
public com.adventnet.nms.extranet.remote.communication.fw.noc.SPPNOCSession getSession(java.lang.String regionID)
return - ID of the DMS.protected boolean isValidProbe(java.lang.String probeName)
public void reInitialize()
public boolean sendDataToPeer(java.lang.String regionID,
DataObject dataObj,
int notificationType)
regionID - ID of the DMS.dataObj - DataObject that has to sent to the DMS.notificationType - Unique ID for the DataObject.
public boolean sendDataToPeer(java.lang.String regionID,
DataObject dataObj,
int notificationType,
boolean sendImmediately)
regionID - ID of the DMS.dataObj - DataObject that has to sent to the DMS.notificationType - Unique ID for the DataObject.public DataObject processRegionIdRequest(org.w3c.dom.Element root)
public org.w3c.dom.Element processIdRequest(org.w3c.dom.Element root)
public DataObject sendShutdownResponse()
public DataObject processPatchVersionRequest(org.w3c.dom.Element elem)
public DataObject sendPatchVersionResponse(java.lang.String response,
java.lang.String message)
public void publish(DataObject dataObject,
java.lang.String regionID)
public DataObject getStoredData(java.lang.String regionID)
public java.util.Hashtable getCommTable()
public void shutDown()
public long getTimeDiff(java.lang.String regionID)
regionID - ID of the DMS.public void removeSession(java.lang.String regionID)
public int getBufferSize()
public void setProbeDetails(java.lang.String probeName,
java.util.HashMap probeDetails)
public java.util.HashMap getProbeDetails(java.lang.String probeName)
|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||