There's a wrapper mostly written by hoijui, I added some things as well.
If you like you are welcome to create a github project for unitsync for java, and set up maven repo, that way we could develop a better wrapper in cooperation. Not many people use the java unitsync right now but maybe in the future who knows, could be useful to someone.
i already have a much betteer wrapper locally. it has even OSGi support, which allows, next to other stuff, nice reloading of unityznc at runtime, which means you can load it from a different location. it also generates wrappers at comppiletime with maven plugins, and hides all JNA stuff from the interface. it is quite as i wanted it, i just have to actualiye it for current master unitsznc. i am not at home right now, will be soon though. just saying.. dont start somethign new i will try to do that son, now that i know there is someone that could use it. will be online later.
no real docu yet. i will upload a Pax-Exam test soon. Most basic usage instructions:
You may specify the dir containing unitsync like this: <code>System.setProperty("jna.library.path", unitsyncDir);</code> or the path to unitsync like this: <code>Preferences.userRoot().put("unitsync.path", unitsyncPath);</code>
Then start the bundle, and use either the "Unitsync" or "UnitsyncSimple" service (they only differ in one function, getInfoMapSize).
For further help, it may be best to meet me in the lobby.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum