@@ -0,0 +1,434 @@
+package nanomsg;%0A%0Aimport java.lang.Runnable;%0Aimport nanomsg.NativeLibrary;%0A%0A%0Apublic class Device implements Runnable %7B%0A    private final int sourceSocket;%0A    private final int destSocket;%0A%0A    public Device(final int sourceSocket, final int destSocket) %7B%0A        this.sourceSocket = sourceSocket;%0A        this.destSocket = destSocket;%0A    %7D%0A%0A    public void run() %7B%0A        NativeLibrary.nn_device(sourceSocket, destSocket);%0A    %7D%0A%7D%0A

Add device support to java bindings.