From 8271a6f8eda61dadb5aa86dcad2f23dea5a42568 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Fri, 12 Feb 2016 18:09:44 +0100 Subject: Remove V3poRequest The callback interface from vpp-japi needs to be remodeled to reflect the fact there is only a single connection. Remove the unneeded abstraction before we move on to proper callbacks. Change-Id: Ic96d6f17110ab31988e1621ac42d76d0c5d4069f Signed-off-by: Robert Varga --- .../io/fd/honeycomb/v3po/impl/V3poApiRequest.java | 2 +- .../io/fd/honeycomb/v3po/impl/V3poRequest.java | 31 ---------------------- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poRequest.java diff --git a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poApiRequest.java b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poApiRequest.java index b4f3fe93f..7f614413b 100644 --- a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poApiRequest.java +++ b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poApiRequest.java @@ -72,7 +72,7 @@ import org.slf4j.LoggerFactory; /* * VPP API Class overriding interface details callback */ -public class V3poApiRequest extends V3poRequest { +public class V3poApiRequest { private static final Logger LOG = LoggerFactory.getLogger(V3poApiRequest.class); public String ifNames = ""; private final VppPollOperDataImpl caller; diff --git a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poRequest.java b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poRequest.java deleted file mode 100644 index 43735ed1d..000000000 --- a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poRequest.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2015 Cisco and/or its affiliates. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at: - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package io.fd.honeycomb.v3po.impl; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/* - * Abstract class overriding all callbacks with default error message - */ -public abstract class V3poRequest { - private static final Logger LOG = LoggerFactory.getLogger(V3poRequest.class); - - protected V3poRequest() { - - } -} -- cgit 1.2.3-korg