@Test public void testClose() throws Exception { NcmountProvider provider = new NcmountProvider(); provider.close(); }
@Override public void close() throws Exception { LOG.info("NcmountProvider Closed"); if (rpcReg != null) { rpcReg.close(); } if (dclReg != null) { dclReg.close(); } }
NcmountProvider implements DataTreeChangeListener<Node>, NcmountService,
        BindingAwareProvider, AutoCloseable { @Override public void close() throws Exception { LOG.info("NcmountProvider Closed"); if (rpcReg != null) { rpcReg.close(); } if (dclReg != null) { dclReg.close(); } } }
NcmountProvider implements DataTreeChangeListener<Node>, NcmountService,
        BindingAwareProvider, AutoCloseable { @Override public void close() throws Exception { LOG.info("NcmountProvider Closed"); if (rpcReg != null) { rpcReg.close(); } if (dclReg != null) { dclReg.close(); } }  }
NcmountProvider implements DataTreeChangeListener<Node>, NcmountService,
        BindingAwareProvider, AutoCloseable { @Override public void close() throws Exception { LOG.info("NcmountProvider Closed"); if (rpcReg != null) { rpcReg.close(); } if (dclReg != null) { dclReg.close(); } }  @Override void onSessionInitiated(ProviderContext session); @Override void close(); @Override ListenableFuture<RpcResult<ShowNodeOutput>> showNode(ShowNodeInput input); @Override ListenableFuture<RpcResult<WriteRoutesOutput>> writeRoutes(final WriteRoutesInput input); @Override ListenableFuture<RpcResult<ListNodesOutput>> listNodes(ListNodesInput input); @Override void onDataTreeChanged(Collection<DataTreeModification<Node>> changes); }
NcmountProvider implements DataTreeChangeListener<Node>, NcmountService,
        BindingAwareProvider, AutoCloseable { @Override public void close() throws Exception { LOG.info("NcmountProvider Closed"); if (rpcReg != null) { rpcReg.close(); } if (dclReg != null) { dclReg.close(); } }  @Override void onSessionInitiated(ProviderContext session); @Override void close(); @Override ListenableFuture<RpcResult<ShowNodeOutput>> showNode(ShowNodeInput input); @Override ListenableFuture<RpcResult<WriteRoutesOutput>> writeRoutes(final WriteRoutesInput input); @Override ListenableFuture<RpcResult<ListNodesOutput>> listNodes(ListNodesInput input); @Override void onDataTreeChanged(Collection<DataTreeModification<Node>> changes); static final InstanceIdentifier<Topology> NETCONF_TOPO_IID; }