diff options
author | malosek <malosek@fastmq.com> | 2009-09-16 12:22:36 +0200 |
---|---|---|
committer | malosek <malosek@fastmq.com> | 2009-09-16 12:22:36 +0200 |
commit | 7a5db6041f4f11ed502fa7446da900509dedb00f (patch) | |
tree | 6f96beb5f647a3ac296be2f24a2f675880f6b8a7 /java | |
parent | 9c522dccaf0b2c8074bd96fbfb4c968f45748ba4 (diff) |
added newly added socket options to all language bindings, P2P model changed to PUB/SUB for throughput tests
Diffstat (limited to 'java')
-rw-r--r-- | java/Socket.cpp | 1 | ||||
-rw-r--r-- | java/org/zmq/Socket.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/java/Socket.cpp b/java/Socket.cpp index 2a2f420..2274535 100644 --- a/java/Socket.cpp +++ b/java/Socket.cpp @@ -98,6 +98,7 @@ JNIEXPORT void JNICALL Java_org_zmq_Socket_setsockopt__IJ (JNIEnv *env, case ZMQ_AFFINITY: case ZMQ_RATE: case ZMQ_RECOVERY_IVL: + case ZMQ_MCAST_LOOP: { void *s = (void*) env->GetLongField (obj, socket_handle_fid); assert (s); diff --git a/java/org/zmq/Socket.java b/java/org/zmq/Socket.java index 0d96c71..501bc16 100644 --- a/java/org/zmq/Socket.java +++ b/java/org/zmq/Socket.java @@ -44,6 +44,7 @@ public class Socket public static final int UNSUBSCRIBE = 7; public static final int RATE = 8; public static final int RECOVERY_IVL = 9; + public static final int MCAST_LOOP = 10; /** * Class constructor. |