|
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.fe.SPPRegionalCommFE
This class controls the data flow between Central Server and DMS. This class is placed in the Front-end component of the Central Server, which
holds methods to transfer data to DMS from Central Server or vice versa. Instance of this class can be accessed by calling
SPPRegionalCommFE.getInstance().
In one-way communication mode, as the user has to write a receiving class in his custom communication model, this class is used to transfer
data between Central Server and DMS. In two-way communication, the framework provides interfaces on both the sides.
| Method Summary | |
void |
deleteBuffer(java.lang.String regionID)
After the successful transmission of data to the DMS, data stored in the buffer can be deleted by calling this method. |
static com.adventnet.nms.extranet.remote.communication.fw.fe.SPPRegionalCommAPI |
getInstance()
Returns the reference of this object. |
void |
postBEFailOverNotification(com.adventnet.nms.fe.common.BEFailOverEvent beFailOverEvent)
This is an implementation method of BEFailOverListener, responsible for re-creating communication channel after successful failover operation. |
void |
preBEFailOverNotification(com.adventnet.nms.fe.common.BEFailOverEvent beFailOverEvent)
This is an implementation method of BEFailOverListener, responsible for closing stream sockets when failover is taking place. |
void |
shutDown()
This is an implementation method of SPPRegionalCommAPI, responsible for shutting down the Front End Component when this method is called. |
DataObject |
transferDataToNOC(DataObject dataObject,
java.lang.String regionID)
Forwards the data from the DMS to the Back-end component of Central Server. |
DataObject |
transferDataToReg(java.lang.String regionID)
Transfers the data to DMS. |
| Method Detail |
public static com.adventnet.nms.extranet.remote.communication.fw.fe.SPPRegionalCommAPI getInstance()
public DataObject transferDataToNOC(DataObject dataObject,
java.lang.String regionID)
throws java.rmi.RemoteException
dataObject - DataObject that has to be forwarded to the Central Server.regionID - ID of the DMS.java.rmi.RemoteException - if error while transfering data to Central Server.
public DataObject transferDataToReg(java.lang.String regionID)
throws java.rmi.RemoteException
regionID - ID of the DMS.java.rmi.RemoteException - if error while transfering data to DMS.deleteBuffer(String)public void deleteBuffer(java.lang.String regionID)
regionID - The ID of the DMS.transferDataToReg(String)public void shutDown()
public void preBEFailOverNotification(com.adventnet.nms.fe.common.BEFailOverEvent beFailOverEvent)
preBEFailOverNotification in interface com.adventnet.nms.fe.common.BEFailOverListenerpublic void postBEFailOverNotification(com.adventnet.nms.fe.common.BEFailOverEvent beFailOverEvent)
postBEFailOverNotification in interface com.adventnet.nms.fe.common.BEFailOverListener
|
AdventNet Web NMS 4 DMS API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||