NetconfOperationRouter should not expose close() 09/105709/4
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 26 Apr 2023 15:42:22 +0000 (17:42 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 26 Apr 2023 16:43:55 +0000 (18:43 +0200)
commitcead001b08f45c29072b4fc6c384141de8f3d967
treec2ef55d32d841b4f34d5a50dcaef993ff9b51f05
parent2ad5c1d122007f73f00259659be7668342e6cfce
NetconfOperationRouter should not expose close()

The close() method is a component contract, it should not be part of the
functional definition. This fixes a warning around the possibility of an
InterrupatedException.

JIRA: NETCONF-945
Change-Id: Ic26e9fe1d56b8aff6493ce6537196f525022a5f3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/NetconfServerSessionListener.java
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/NetconfServerSessionNegotiatorFactory.java
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/osgi/NetconfOperationRouter.java
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/osgi/NetconfOperationRouterImpl.java
protocol/netconf-server/src/test/java/org/opendaylight/netconf/server/NetconfServerSessionListenerTest.java