summaryrefslogtreecommitdiffstats
path: root/vpp-japi/japi/org/openvpp/vppjapi/vppBridgeDomainInterfaceDetails.java
diff options
context:
space:
mode:
authorRobert Varga <nite@hq.sk>2016-01-31 12:20:47 +0100
committerDave Wallace <dwallacelf@gmail.com>2016-02-01 04:07:26 +0000
commit67ba3bed006c8fdaec5cbee897843d54cf2f538d (patch)
treec2621006466ad41855aaa76ebe97b27521ac4a10 /vpp-japi/japi/org/openvpp/vppjapi/vppBridgeDomainInterfaceDetails.java
parentd5201c80078fdecad8e6524e430b4b255f91b6b6 (diff)
Refactor vpp-japi
vlib does not allow concurrent connections, hence make sure the Java API does not allow the user to instantiate them. Also hide native methods from direct user invocation behind defensive methods also detect if a particular connection has been terminated. Disconnect is hidden befind standard close() method, as specified by AutoCloseable. Change-Id: Ib5079200ae4216cad84358a2174a41e90271a30b Signed-off-by: Robert Varga <nite@hq.sk>
Diffstat (limited to 'vpp-japi/japi/org/openvpp/vppjapi/vppBridgeDomainInterfaceDetails.java')
-rw-r--r--vpp-japi/japi/org/openvpp/vppjapi/vppBridgeDomainInterfaceDetails.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp-japi/japi/org/openvpp/vppjapi/vppBridgeDomainInterfaceDetails.java b/vpp-japi/japi/org/openvpp/vppjapi/vppBridgeDomainInterfaceDetails.java
index f17c0620106..ab99ee45347 100644
--- a/vpp-japi/japi/org/openvpp/vppjapi/vppBridgeDomainInterfaceDetails.java
+++ b/vpp-japi/japi/org/openvpp/vppjapi/vppBridgeDomainInterfaceDetails.java
@@ -15,7 +15,7 @@
package org.openvpp.vppjapi;
-public class vppBridgeDomainInterfaceDetails {
+public final class vppBridgeDomainInterfaceDetails {
public String interfaceName;
public byte splitHorizonGroup;
}