File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed
jeromq-core/src/main/java/org/zeromq Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -110,23 +110,53 @@ public class ZMQ
110110 public static final int DONTWAIT = zmq .ZMQ .ZMQ_DONTWAIT ;
111111 public static final int NOBLOCK = zmq .ZMQ .ZMQ_DONTWAIT ;
112112
113- // Socket types, used when creating a Socket. Note that all of the int types here is
113+ // Socket types, used when creating a Socket. Note that all the int types here is
114114 // deprecated, use SocketType instead
115115
116+ /**
117+ * @deprecated use {@link SocketType#PAIR} instead
118+ */
116119 @ Deprecated
117120 public static final int PAIR = zmq .ZMQ .ZMQ_PAIR ;
118121
122+ /**
123+ * @deprecated use {@link SocketType#PUB} instead
124+ */
119125 @ Deprecated
120126 public static final int PUB = zmq .ZMQ .ZMQ_PUB ;
127+ /**
128+ * @deprecated use {@link SocketType#SUB} instead
129+ */
121130 @ Deprecated
122131 public static final int SUB = zmq .ZMQ .ZMQ_SUB ;
123132
133+ /**
134+ * @deprecated use {@link SocketType#REQ} instead
135+ */
124136 @ Deprecated
125137 public static final int REQ = zmq .ZMQ .ZMQ_REQ ;
126138
139+ /**
140+ * @deprecated use {@link SocketType#REP} instead
141+ */
127142 @ Deprecated
128143 public static final int REP = zmq .ZMQ .ZMQ_REP ;
129144
145+ /**
146+ * @deprecated use {@link SocketType#DISH} instead
147+ */
148+ @ Deprecated
149+ public static final int DISH = zmq .ZMQ .ZMQ_DISH ;
150+
151+ /**
152+ * @deprecated use {@link SocketType#RADIO} instead
153+ */
154+ @ Deprecated
155+ public static final int RADIO = zmq .ZMQ .ZMQ_RADIO ;
156+
157+ /**
158+ * @deprecated use {@link SocketType#DEALER} instead
159+ */
130160 @ Deprecated
131161 public static final int DEALER = zmq .ZMQ .ZMQ_DEALER ;
132162 /**
You can’t perform that action at this time.
0 commit comments