From deda7ca54a3c8f1ba735e8654ca87f8808606122 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 26 Feb 2010 17:28:09 +0100 Subject: Java Poller patch --- bindings/java/org/zmq/Context.java | 18 ------------------ 1 file changed, 18 deletions(-) mode change 100644 => 100755 bindings/java/org/zmq/Context.java (limited to 'bindings/java/org/zmq') diff --git a/bindings/java/org/zmq/Context.java b/bindings/java/org/zmq/Context.java old mode 100644 new mode 100755 index 7a3552b..a727749 --- a/bindings/java/org/zmq/Context.java +++ b/bindings/java/org/zmq/Context.java @@ -26,10 +26,6 @@ public class Context { public static final int POLL = 1; - public static final int POLLIN = 1; - public static final int POLLOUT = 2; - public static final int POLLERR = 4; - /** * Class constructor. * @@ -40,20 +36,6 @@ public class Context { construct (appThreads, ioThreads, flags); } - /** - * Issue a poll call on the specified 0MQ sockets. - * This function is experimental and may change in the future. - * - * @param socket an array of 0MQ Socket objects to poll. - * @param event an array of short values specifying what to poll for. - * @param revent an array of short values with the results. - * @param timeout the maximum timeout in microseconds. - */ - public native long poll (Socket[] socket, - short[] event, - short[] revent, - long timeout); - /** Initialize the JNI interface */ protected native void construct (int appThreads, int ioThreads, int flags); -- cgit v1.2.3