public class TMF814NMSSessionImpl
extends org.tmf.corba.gencode.nmsSession.NmsSession_IPOA
Constructor and Description |
---|
TMF814NMSSessionImpl()
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.tmf.corba.gencode.session.Session_I |
associatedSession()
This attribute contains a reference to the Session_I on the other side
(NMS/EMS) to which the object is associated.
|
void |
endSession()
Allows for a controlled disconnect between parties.
|
void |
eventLossCleared(java.lang.String arg0)
The EMS invokes this method to indicate that the event loss period is
over, and that it is now capable of providing relevant notifications.
|
void |
eventLossOccurred(java.lang.String arg0,
java.lang.String arg1)
When an EMS fails to push an event, it can notify all connected NMSs by
invoking this method on every active NmsSession_I.
|
void |
ping()
Allows for the detection of loss of communication.
|
_all_interfaces, _invoke, _this, _this
public void eventLossCleared(java.lang.String arg0)
After invoking this method on the NmsSession_Is, the EMS clears the internal flag set by eventLossOccurred. If event loss occurs again, eventLossOccurred will be called.
How and when the EMS decides to invoke eventLossCleared is an EMS implementation detail. The actual algorithm that the EMS uses may be as simple as a timer-based mechanism or a complicated one which monitors the current rate at which the EMS pushes events and the available resources in NOSE. Not used at the moment.
arg0
- public void eventLossOccurred(java.lang.String arg0, java.lang.String arg1)
Once the EMS invokes this method on the NmsSession_Is, it sets an internal flag to indicate that it has already informed NMSes of event loss. As long as this flag is set, the EMS will not invoke this method again.
When this method is invoked on an NmsSession_I, the NMS comes to know that the EMS has failed to push one or more events that may be of interest to it. The NMS should consider itself to be potentially out-of-sync with the EMS. It should wait until the EMS calls eventLossCleared before resynchronising with the EMS.
Not used at the moment.
arg0
- arg1
- public org.tmf.corba.gencode.session.Session_I associatedSession()
Not used at the moment.
public void endSession()
Not used at the moment.
public void ping()
Not used at the moment.