summaryrefslogtreecommitdiff
path: root/bindings/java
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/java')
-rw-r--r--bindings/java/org/zmq/Socket.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bindings/java/org/zmq/Socket.java b/bindings/java/org/zmq/Socket.java
index 935fade..075e322 100644
--- a/bindings/java/org/zmq/Socket.java
+++ b/bindings/java/org/zmq/Socket.java
@@ -34,8 +34,10 @@ public class Socket
public static final int SUB = 2;
public static final int REQ = 3;
public static final int REP = 4;
- public static final int UPSTREAM = 4;
- public static final int DOWNSTREAM = 4;
+ public static final int XREQ = 5;
+ public static final int XREP = 6;
+ public static final int UPSTREAM = 7;
+ public static final int DOWNSTREAM = 8;
public static final int HWM = 1;
public static final int LWM = 2;