From 7a5db6041f4f11ed502fa7446da900509dedb00f Mon Sep 17 00:00:00 2001 From: malosek Date: Wed, 16 Sep 2009 12:22:36 +0200 Subject: added newly added socket options to all language bindings, P2P model changed to PUB/SUB for throughput tests --- java/Socket.cpp | 1 + java/org/zmq/Socket.java | 1 + 2 files changed, 2 insertions(+) (limited to 'java') 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. -- cgit v1.2.3