Remove V3poRequest
authorRobert Varga <[email protected]>
Fri, 12 Feb 2016 17:09:44 +0000 (18:09 +0100)
committerEd Warnicke <[email protected]>
Fri, 19 Feb 2016 21:34:17 +0000 (21:34 +0000)
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 <[email protected]>
v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poApiRequest.java
v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poRequest.java [deleted file]

index b4f3fe9..7f61441 100644 (file)
@@ -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 (file)
index 43735ed..0000000
+++ /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() {
-
-    }
-}