diff options
Diffstat (limited to 'nsh-plugin/java/jvpp')
-rw-r--r-- | nsh-plugin/java/jvpp/jvpp_nsh.c | 10 | ||||
-rw-r--r-- | nsh-plugin/java/jvpp/pom.xml | 2 | ||||
-rw-r--r-- | nsh-plugin/java/jvpp/test/JVppNshTest.java | 20 | ||||
-rw-r--r-- | nsh-plugin/java/jvpp/test/NshFutureApiTest.java | 22 |
4 files changed, 27 insertions, 27 deletions
diff --git a/nsh-plugin/java/jvpp/jvpp_nsh.c b/nsh-plugin/java/jvpp/jvpp_nsh.c index a84e02e..2f92d3b 100644 --- a/nsh-plugin/java/jvpp/jvpp_nsh.c +++ b/nsh-plugin/java/jvpp/jvpp_nsh.c @@ -41,20 +41,20 @@ #include <jvpp-common/jvpp_common.h> // FIXME use less fragile path -#include "../build/java/jvpp/org_openvpp_jvpp_nsh_JVppNshImpl.h" +#include "../build/java/jvpp/io_fd_vpp_jvpp_nsh_JVppNshImpl.h" #include "jvpp_nsh.h" #include "./build/java/jvpp/jvpp_nsh_gen.h" /* - * Class: org_openvpp_jvpp_nsh_JVppNshImpl + * Class: io_fd_vpp_jvpp_nsh_JVppNshImpl * Method: init0 * Signature: (JI)V */ -JNIEXPORT void JNICALL Java_org_openvpp_jvpp_nsh_JVppNshImpl_init0 +JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_nsh_JVppNshImpl_init0 (JNIEnv *env, jclass clazz, jobject callback, jlong queue_address, jint my_client_index) { nsh_main_t * plugin_main = &nsh_main; u8 * name; - clib_warning ("Java_org_openvpp_jvpp_nsh_JVppNshImpl_init0"); + clib_warning ("Java_io_fd_vpp_jvpp_nsh_JVppNshImpl_init0"); plugin_main->my_client_index = my_client_index; plugin_main->vl_input_queue = (unix_shared_memory_queue_t *)queue_address; @@ -76,7 +76,7 @@ JNIEXPORT void JNICALL Java_org_openvpp_jvpp_nsh_JVppNshImpl_init0 #undef _ } -JNIEXPORT void JNICALL Java_org_openvpp_jvpp_nsh_JVppNshImpl_close0 +JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_nsh_JVppNshImpl_close0 (JNIEnv *env, jclass clazz) { nsh_main_t * plugin_main = &nsh_main; diff --git a/nsh-plugin/java/jvpp/pom.xml b/nsh-plugin/java/jvpp/pom.xml index 7c59045..650e4eb 100644 --- a/nsh-plugin/java/jvpp/pom.xml +++ b/nsh-plugin/java/jvpp/pom.xml @@ -49,7 +49,7 @@ <arg value="${runtime_classpath}"/> <arg value="-d"/> <arg value="${basedir}"/> - <arg value="org.openvpp.jvpp.nsh.JVppNshImpl"/> + <arg value="io.fd.vpp.jvpp.nsh.JVppNshImpl"/> </exec> </target> </configuration> diff --git a/nsh-plugin/java/jvpp/test/JVppNshTest.java b/nsh-plugin/java/jvpp/test/JVppNshTest.java index 2a12c56..9cda316 100644 --- a/nsh-plugin/java/jvpp/test/JVppNshTest.java +++ b/nsh-plugin/java/jvpp/test/JVppNshTest.java @@ -14,22 +14,22 @@ * limitations under the License. */ -package org.openvpp.jvpp.nsh.test; +package io.fd.vpp.jvpp.nsh.test; -import org.openvpp.jvpp.JVpp; -import org.openvpp.jvpp.JVppRegistry; -import org.openvpp.jvpp.JVppRegistryImpl; -import org.openvpp.jvpp.VppCallbackException; -import org.openvpp.jvpp.VppJNIConnection; +import io.fd.vpp.jvpp.JVpp; +import io.fd.vpp.jvpp.JVppRegistry; +import io.fd.vpp.jvpp.JVppRegistryImpl; +import io.fd.vpp.jvpp.VppCallbackException; +import io.fd.vpp.jvpp.VppJNIConnection; -import org.openvpp.jvpp.nsh.dto.*; -import org.openvpp.jvpp.nsh.callback.*; -import org.openvpp.jvpp.nsh.*; +import io.fd.vpp.jvpp.nsh.dto.*; +import io.fd.vpp.jvpp.nsh.callback.*; +import io.fd.vpp.jvpp.nsh.*; /** * Tests the Nsh Jvpp wrapper (callback API). Run using: * - * sudo java -cp path/to/jvpp-registry-16.09-SNAPSHOT.jar:path/to/nsh-sfc-16.09-SNAPSHOT.jar org.openvpp.jvpp.nsh.test.JVppNshTest + * sudo java -cp path/to/jvpp-registry-16.09-SNAPSHOT.jar:path/to/nsh-sfc-16.09-SNAPSHOT.jar io.fd.vpp.jvpp.nsh.test.JVppNshTest */ public class JVppNshTest { diff --git a/nsh-plugin/java/jvpp/test/NshFutureApiTest.java b/nsh-plugin/java/jvpp/test/NshFutureApiTest.java index 26f4276..2e3b098 100644 --- a/nsh-plugin/java/jvpp/test/NshFutureApiTest.java +++ b/nsh-plugin/java/jvpp/test/NshFutureApiTest.java @@ -14,26 +14,26 @@ * limitations under the License. */ -package org.openvpp.jvpp.nsh.test; +package io.fd.vpp.jvpp.nsh.test; import java.util.concurrent.Future; import java.util.Objects; -import org.openvpp.jvpp.JVpp; -import org.openvpp.jvpp.JVppRegistry; -import org.openvpp.jvpp.JVppRegistryImpl; -import org.openvpp.jvpp.VppCallbackException; -import org.openvpp.jvpp.VppJNIConnection; +import io.fd.vpp.jvpp.JVpp; +import io.fd.vpp.jvpp.JVppRegistry; +import io.fd.vpp.jvpp.JVppRegistryImpl; +import io.fd.vpp.jvpp.VppCallbackException; +import io.fd.vpp.jvpp.VppJNIConnection; -import org.openvpp.jvpp.nsh.dto.*; -import org.openvpp.jvpp.nsh.callback.*; -import org.openvpp.jvpp.nsh.*; -import org.openvpp.jvpp.nsh.future.FutureJVppNshFacade; +import io.fd.vpp.jvpp.nsh.dto.*; +import io.fd.vpp.jvpp.nsh.callback.*; +import io.fd.vpp.jvpp.nsh.*; +import io.fd.vpp.jvpp.nsh.future.FutureJVppNshFacade; /** * Tests the Nsh Jvpp wrapper (future API). Run using: * - * sudo java -cp path/to/jvpp-registry-16.09-SNAPSHOT.jar:path/to/nsh-sfc-16.09-SNAPSHOT.jar org.openvpp.jvpp.nsh.test.NshFutureApiTest + * sudo java -cp path/to/jvpp-registry-16.09-SNAPSHOT.jar:path/to/nsh-sfc-16.09-SNAPSHOT.jar io.fd.vpp.jvpp.nsh.test.NshFutureApiTest */ public class NshFutureApiTest { |