|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.nms.fe.common.BEFailOverEvent
An event which indicates to the modules in the FE server, about the switch over of the FE server to the standby BE server. This switch over happens when the BE server, to which the FE server is connected, fails and the standby BE server takes over as the primary.
This event is passed to all the BEFailOverListeners by the FE server,
both when it has detected the failure of the BE server and after it has
successfully reestablished the conection with the current primary BE server.
This event provides information about the failed and the current primary
BE servers to the BEFailOverListeners.
BEFailOverListener| Constructor Summary | |
BEFailOverEvent(java.util.Properties previousBEInfo,
java.util.Properties presentBEInfo)
Constructs a BEFailOverEvent object with the details about the failed and the current primary BE server. |
|
| Method Summary | |
java.lang.String |
getNewBEHost()
Returns the host name of the current primary BE server, to which the FE server can establish connection. |
int |
getNewBEPort()
Returns the TCP port number of the current primary BE server, to which the FE server can establish connection. |
int |
getNewRMIPort()
Returns the RMI registry port number of the current primary BE server, to which the FE server can establish connection. |
java.lang.String |
getOldBEHost()
Returns the host name of the failed BE server, to which the FE server was connected. |
int |
getOldBEPort()
Returns the TCP port number of the failed BE server, to which the FE server was connected. |
int |
getOldRMIPort()
Returns the RMI registry port number of the failed BE server, to which the FE server was connected. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BEFailOverEvent(java.util.Properties previousBEInfo,
java.util.Properties presentBEInfo)
BEFailOverListeners.previousBEInfo - Properties object containing details about the
failed BE serverpresentBEInfo - Properties object containing details about the
current primary BE server| Method Detail |
public int getNewBEPort()
When notified through the BEFailOverListener.preBEFailOverNotification(BEFailOverEvent)
method, this indicates the TCP port number of the BE server to which
the FE server will try to connect. When notified through the
BEFailOverListener.postBEFailOverNotification(BEFailOverEvent)
method, this indicates the TCP port number of the BE server to which the
FE server has established the connection. If the BE and FE servers are
communicating in the RMI mode, the result of this method is of no
relevance.
public int getNewRMIPort()
When notified through the BEFailOverListener.preBEFailOverNotification(BEFailOverEvent)
method, this indicates the RMI registry port number of the BE server to
which the FE server will try to connect. When notified through the
BEFailOverListener.postBEFailOverNotification(BEFailOverEvent)
method, this indicates the RMI registry port number of the BE server to
which the FE server has established the connection.
public java.lang.String getNewBEHost()
When notified through the BEFailOverListener.preBEFailOverNotification(BEFailOverEvent)
method, this indicates the host name of the BE server to
which the FE server will try to connect. When notified through the
BEFailOverListener.postBEFailOverNotification(BEFailOverEvent)
method, this indicates the host name of the BE server to which the FE
server has established the connection.
public int getOldBEPort()
public int getOldRMIPort()
public java.lang.String getOldBEHost()
|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||