@Test public void testDestroy() { m_deviceReconnectNotificationAction.destroy(); verify(m_netconfConnectionManager).unregisterDeviceConnectionListener(m_deviceReconnectNotificationAction); }
public void destroy() { m_netconfConnectionManager.unregisterDeviceConnectionListener(this); }
DeviceReconnectionNotificationAction implements ConnectionListener { public void destroy() { m_netconfConnectionManager.unregisterDeviceConnectionListener(this); } }
DeviceReconnectionNotificationAction implements ConnectionListener { public void destroy() { m_netconfConnectionManager.unregisterDeviceConnectionListener(this); } DeviceReconnectionNotificationAction(NotificationService notificationService,
                                                NetconfConnectionManager netconfConnectionManager, AdapterManager adapterManager,
                                                PmaRegistry pmaRegistry); }
DeviceReconnectionNotificationAction implements ConnectionListener { public void destroy() { m_netconfConnectionManager.unregisterDeviceConnectionListener(this); } DeviceReconnectionNotificationAction(NotificationService notificationService,
                                                NetconfConnectionManager netconfConnectionManager, AdapterManager adapterManager,
                                                PmaRegistry pmaRegistry); void init(); void destroy(); @Override void deviceConnected(Device device, NetconfClientSession clientSession); @Override void deviceDisConnected(Device device, NetconfClientSession session); }
DeviceReconnectionNotificationAction implements ConnectionListener { public void destroy() { m_netconfConnectionManager.unregisterDeviceConnectionListener(this); } DeviceReconnectionNotificationAction(NotificationService notificationService,
                                                NetconfConnectionManager netconfConnectionManager, AdapterManager adapterManager,
                                                PmaRegistry pmaRegistry); void init(); void destroy(); @Override void deviceConnected(Device device, NetconfClientSession clientSession); @Override void deviceDisConnected(Device device, NetconfClientSession session);  }