X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fcallhome-server%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fcallhome%2Fserver%2FCallHomeSessionContext.java;fp=netconf%2Fcallhome-server%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fcallhome%2Fserver%2FCallHomeSessionContext.java;h=0000000000000000000000000000000000000000;hb=abb7dc0724a257ab8bac8f4d523c2ec24186decf;hp=cf28f554101dad69e867d9547f569965477e4b65;hpb=6aba89d85fae22bb93e52e2359b232f6f526b29e;p=netconf.git diff --git a/netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/CallHomeSessionContext.java b/netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/CallHomeSessionContext.java deleted file mode 100644 index cf28f55410..0000000000 --- a/netconf/callhome-server/src/main/java/org/opendaylight/netconf/callhome/server/CallHomeSessionContext.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 2023 PANTHEON.tech s.r.o. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.netconf.callhome.server; - -import com.google.common.util.concurrent.SettableFuture; -import org.opendaylight.netconf.client.NetconfClientSession; -import org.opendaylight.netconf.client.NetconfClientSessionListener; - -/** - * Session Context for incoming Call-Home connections. - */ -public interface CallHomeSessionContext { - - /** - * Returns unique identifier of a connected device. - * - * @return identifier - */ - String id(); - - /** - * Returns {@link NetconfClientSessionListener} associated with Netconf session expected to be established - * through current connection. - * - * @return netconf session listener - */ - NetconfClientSessionListener netconfSessionListener(); - - /** - * Returns {@link SettableFuture} for {@link NetconfClientSessionListener} expected to be established - * through current connection. - * - * @return settable future for netconf session - */ - SettableFuture settableFuture(); - - /** - * Terminates current connection. - */ - void close(); -}