|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.nms.extranet.remote.communication.fw.SPPCommParser
This class provides the communication details configured in CommunicationInfo.xml for this DMS. All the details about communication with the Central Server are maintained in this object. At the DMS startup CommunicationInfo.xml file is read for getting communication details. This configuration file is present in FE, DMS, and Central server, and this class is used in all these components for reading the XML file.
| Method Summary | |
java.lang.String |
getCommunicationProperty(java.lang.String key)
Returns the value corresponding to the given key from communication properties configured in CommunicationInfo.xml. |
java.util.Properties |
getCommunicationProps()
Returns all the communication properties configured in CommunicationInfo.xml. |
static SPPCommParser |
getInstance()
Returns a reference of this object. |
java.lang.String |
getMainProperty(java.lang.String key)
Returns the value corresponding to the given key from main communication properties configured in CommunicationInfo.xml. |
java.util.Properties |
getMainProps()
Returns the main communication properties configured in CommunicationInfo.xml for the corresponding key. |
java.lang.String |
getUserProperty(java.lang.String key)
Returns the value corresponding to the given key from user properties configured in CommunicationInfo.xml. |
java.util.Properties |
getUserProps()
Returns the user properties configured in CommunicationInfo.xml. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static SPPCommParser getInstance()
public java.util.Properties getCommunicationProps()
public java.util.Properties getMainProps()
public java.util.Properties getUserProps()
public java.lang.String getMainProperty(java.lang.String key)
public java.lang.String getUserProperty(java.lang.String key)
public java.lang.String getCommunicationProperty(java.lang.String key)
|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||