summaryrefslogtreecommitdiffstats
path: root/vpp-japi/japi/org/openvpp/vppjapi
AgeCommit message (Collapse)AuthorFilesLines
2016-02-01Refactor vpp-japiRobert Varga6-28/+173
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>
2016-02-01Make public fields final where possibleRobert Varga7-90/+92
Class fields initialized via the constructor should be final. Also mark leaking byte[] instances with a FIXME. API users consider them immutable, but they are vulnerable to System.arrayCopy(). Also fixes constructor arguments so they do not use underscores, which is prohibited by Java 9. Change-Id: I393d55ed7234149cb3604bc92b2cb1d1207c55dc Signed-off-by: Robert Varga <nite@hq.sk>
2015-12-17Add ODL honeycomb VPP agent extensions to vppjapi jni java library.Dave Wallace6-4/+167
Change-Id: I084ffcf36fbac55c2862035d10b028e35e1e648d Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2015-12-08Initial commit of vpp code.v1.0.0Ed Warnicke7-0/+310
Change-Id: Ib246f1fbfce93274020ee93ce461e3d8bd8b9f17 Signed-off-by: Ed Warnicke <eaw@cisco.com>