summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Varga <nite@hq.sk>2016-02-12 18:09:44 +0100
committerEd Warnicke <eaw@cisco.com>2016-02-19 21:34:17 +0000
commit8271a6f8eda61dadb5aa86dcad2f23dea5a42568 (patch)
treea58c002505e1dc618d38be27191e6c3a5e7c6511
parentc7e464ea36c0cfdf8949767d9b9177043cc92b63 (diff)
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 <nite@hq.sk>
-rw-r--r--v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poApiRequest.java2
-rw-r--r--v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poRequest.java31
2 files changed, 1 insertions, 32 deletions
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() {
-
- }
-}