Class BmpMockSessionListener
java.lang.Object
org.opendaylight.protocol.bmp.mock.BmpMockSessionListener
- All Implemented Interfaces:
BmpSessionListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
void
onMessage
(org.opendaylight.yangtools.binding.Notification<?> message) void
onSessionDown
(Exception exception) void
onSessionUp
(BmpSession session)
-
Constructor Details
-
BmpMockSessionListener
public BmpMockSessionListener()
-
-
Method Details
-
onSessionUp
- Specified by:
onSessionUp
in interfaceBmpSessionListener
-
onSessionDown
- Specified by:
onSessionDown
in interfaceBmpSessionListener
-
onMessage
public void onMessage(org.opendaylight.yangtools.binding.Notification<?> message) - Specified by:
onMessage
in interfaceBmpSessionListener
-
getStatus
public boolean getStatus() -
getNumberOfMessagesReceived
public long getNumberOfMessagesReceived()
-