Class BmpRouterImpl
java.lang.Object
org.opendaylight.protocol.bmp.impl.app.BmpRouterImpl
- All Implemented Interfaces:
 com.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>,AutoCloseable,BmpSessionListener,BmpRouter
- 
Constructor Summary
ConstructorsConstructorDescriptionBmpRouterImpl(org.opendaylight.protocol.bmp.impl.app.RouterSessionManager sessionManager)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Returns router's identifier, represented by router's remote IP address.voidvoidonMessage(org.opendaylight.yangtools.yang.binding.Notification<?> message) voidonSessionDown(Exception exception) voidonSessionUp(BmpSession psession) voidonSuccess(org.opendaylight.yangtools.yang.common.Empty value)  
- 
Constructor Details
- 
BmpRouterImpl
public BmpRouterImpl(org.opendaylight.protocol.bmp.impl.app.RouterSessionManager sessionManager)  
 - 
 - 
Method Details
- 
onSessionUp
- Specified by:
 onSessionUpin interfaceBmpSessionListener
 - 
onSessionDown
- Specified by:
 onSessionDownin interfaceBmpSessionListener
 - 
onMessage
public void onMessage(org.opendaylight.yangtools.yang.binding.Notification<?> message) - Specified by:
 onMessagein interfaceBmpSessionListener
 - 
getRouterId
Description copied from interface:BmpRouterReturns router's identifier, represented by router's remote IP address.- Specified by:
 getRouterIdin interfaceBmpRouter- Returns:
 - router identifier.
 
 - 
close
public void close()- Specified by:
 closein interfaceAutoCloseable
 - 
onFailure
- Specified by:
 onFailurein interfacecom.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>
 - 
onSuccess
public void onSuccess(org.opendaylight.yangtools.yang.common.Empty value) - Specified by:
 onSuccessin interfacecom.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>
 
 -