From: Robert Varga Date: Sun, 31 Jan 2016 11:20:47 +0000 (+0100) Subject: Refactor vpp-japi X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=67ba3bed006c8fdaec5cbee897843d54cf2f538d;hp=67ba3bed006c8fdaec5cbee897843d54cf2f538d;p=vpp.git 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 ---