czmq-ffi-gen 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/README.md +4 -7
- data/lib/czmq-ffi-gen/czmq/ffi/version.rb +1 -1
- data/lib/czmq-ffi-gen/czmq/ffi/zhash.rb +2 -1
- data/lib/czmq-ffi-gen/czmq/ffi/zhashx.rb +2 -2
- data/lib/czmq-ffi-gen/czmq/ffi/zsock.rb +406 -146
- data/lib/czmq-ffi-gen/czmq/ffi.rb +5 -5
- data/lib/czmq-ffi-gen/gem_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6513e81d88e575dca1b7746d5e1a9bf22ac47426
|
4
|
+
data.tar.gz: 10a74a54e3db24ba434d0b0cfd0b559fd554714b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecb3895cc443b32b04e37f2d66649c35c601416cf33c467b3034ddc4c002b43ffda221a14e991ef0106acd96b0560067b953b150f81e5100b48ef65f3a8d8408
|
7
|
+
data.tar.gz: f62d6bf5f1a1b47ba4b049a7339a69edd9dd402c3f1f41d44aa0ed38616ba2c1e57f7ea1413b715022c2a08082636bc2b3c0490a5645bec51c1a55805babb588
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -44,24 +44,21 @@ for the API documentation **for the released gem**.
|
|
44
44
|
|
45
45
|
## Requirements
|
46
46
|
|
47
|
-
* CZMQ
|
47
|
+
* CZMQ >= 4.0
|
48
48
|
* ZMQ >= 4.0
|
49
49
|
|
50
|
-
For security mechanisms like CURVE, you
|
51
|
-
* [libsodium](https://github.com/jedisct1/libsodium)
|
50
|
+
For security mechanisms like CURVE, you can use an external library:
|
51
|
+
* [libsodium](https://github.com/jedisct1/libsodium)
|
52
52
|
|
53
53
|
On OSX using homebrew, run:
|
54
54
|
|
55
55
|
$ brew install libsodium
|
56
56
|
$ brew install zmq --with-libsodium
|
57
|
-
$ brew install czmq
|
57
|
+
$ brew install czmq
|
58
58
|
|
59
59
|
If you're running Linux, go check [this page](http://zeromq.org/distro:_start)
|
60
60
|
to get more help. Make sure to install CZMQ, not only ZMQ.
|
61
61
|
|
62
|
-
**Note**: The option `--HEAD` is required because this binding is generated
|
63
|
-
directly from CZMQ's master branch. The current and older releases aren't supported.
|
64
|
-
|
65
62
|
### Supported Rubies
|
66
63
|
|
67
64
|
See [.travis.yml](https://github.com/paddor/czmq-ffi-gen/blob/master/.travis.yml)
|
@@ -356,7 +356,8 @@ module CZMQ
|
|
356
356
|
result
|
357
357
|
end
|
358
358
|
|
359
|
-
# Set hash for automatic value destruction
|
359
|
+
# Set hash for automatic value destruction. Note that this assumes that
|
360
|
+
# values are NULL-terminated strings. Do not use with different types.
|
360
361
|
#
|
361
362
|
# @return [void]
|
362
363
|
def autofree()
|
@@ -123,7 +123,7 @@ module CZMQ
|
|
123
123
|
end
|
124
124
|
|
125
125
|
# Create a new callback of the following type:
|
126
|
-
#
|
126
|
+
# Destroy an item.
|
127
127
|
# typedef void (zhashx_free_fn) (
|
128
128
|
# void *data);
|
129
129
|
#
|
@@ -139,7 +139,7 @@ module CZMQ
|
|
139
139
|
end
|
140
140
|
|
141
141
|
# Create a new callback of the following type:
|
142
|
-
#
|
142
|
+
# Hash function for keys.
|
143
143
|
# typedef size_t (zhashx_hash_fn) (
|
144
144
|
# const void *key);
|
145
145
|
#
|
@@ -903,6 +903,7 @@ module CZMQ
|
|
903
903
|
end
|
904
904
|
|
905
905
|
# Get socket option `heartbeat_ivl`.
|
906
|
+
# Available from libzmq 4.2.0.
|
906
907
|
#
|
907
908
|
# @return [Integer]
|
908
909
|
def heartbeat_ivl()
|
@@ -913,6 +914,7 @@ module CZMQ
|
|
913
914
|
end
|
914
915
|
|
915
916
|
# Get socket option `heartbeat_ivl`.
|
917
|
+
# Available from libzmq 4.2.0.
|
916
918
|
#
|
917
919
|
# This is the polymorphic version of #heartbeat_ivl.
|
918
920
|
#
|
@@ -926,6 +928,7 @@ module CZMQ
|
|
926
928
|
end
|
927
929
|
|
928
930
|
# Set socket option `heartbeat_ivl`.
|
931
|
+
# Available from libzmq 4.2.0.
|
929
932
|
#
|
930
933
|
# @param heartbeat_ivl [Integer, #to_int, #to_i]
|
931
934
|
# @return [void]
|
@@ -938,6 +941,7 @@ module CZMQ
|
|
938
941
|
end
|
939
942
|
|
940
943
|
# Set socket option `heartbeat_ivl`.
|
944
|
+
# Available from libzmq 4.2.0.
|
941
945
|
#
|
942
946
|
# This is the polymorphic version of #set_heartbeat_ivl.
|
943
947
|
#
|
@@ -953,6 +957,7 @@ module CZMQ
|
|
953
957
|
end
|
954
958
|
|
955
959
|
# Get socket option `heartbeat_ttl`.
|
960
|
+
# Available from libzmq 4.2.0.
|
956
961
|
#
|
957
962
|
# @return [Integer]
|
958
963
|
def heartbeat_ttl()
|
@@ -963,6 +968,7 @@ module CZMQ
|
|
963
968
|
end
|
964
969
|
|
965
970
|
# Get socket option `heartbeat_ttl`.
|
971
|
+
# Available from libzmq 4.2.0.
|
966
972
|
#
|
967
973
|
# This is the polymorphic version of #heartbeat_ttl.
|
968
974
|
#
|
@@ -976,6 +982,7 @@ module CZMQ
|
|
976
982
|
end
|
977
983
|
|
978
984
|
# Set socket option `heartbeat_ttl`.
|
985
|
+
# Available from libzmq 4.2.0.
|
979
986
|
#
|
980
987
|
# @param heartbeat_ttl [Integer, #to_int, #to_i]
|
981
988
|
# @return [void]
|
@@ -988,6 +995,7 @@ module CZMQ
|
|
988
995
|
end
|
989
996
|
|
990
997
|
# Set socket option `heartbeat_ttl`.
|
998
|
+
# Available from libzmq 4.2.0.
|
991
999
|
#
|
992
1000
|
# This is the polymorphic version of #set_heartbeat_ttl.
|
993
1001
|
#
|
@@ -1003,6 +1011,7 @@ module CZMQ
|
|
1003
1011
|
end
|
1004
1012
|
|
1005
1013
|
# Get socket option `heartbeat_timeout`.
|
1014
|
+
# Available from libzmq 4.2.0.
|
1006
1015
|
#
|
1007
1016
|
# @return [Integer]
|
1008
1017
|
def heartbeat_timeout()
|
@@ -1013,6 +1022,7 @@ module CZMQ
|
|
1013
1022
|
end
|
1014
1023
|
|
1015
1024
|
# Get socket option `heartbeat_timeout`.
|
1025
|
+
# Available from libzmq 4.2.0.
|
1016
1026
|
#
|
1017
1027
|
# This is the polymorphic version of #heartbeat_timeout.
|
1018
1028
|
#
|
@@ -1026,6 +1036,7 @@ module CZMQ
|
|
1026
1036
|
end
|
1027
1037
|
|
1028
1038
|
# Set socket option `heartbeat_timeout`.
|
1039
|
+
# Available from libzmq 4.2.0.
|
1029
1040
|
#
|
1030
1041
|
# @param heartbeat_timeout [Integer, #to_int, #to_i]
|
1031
1042
|
# @return [void]
|
@@ -1038,6 +1049,7 @@ module CZMQ
|
|
1038
1049
|
end
|
1039
1050
|
|
1040
1051
|
# Set socket option `heartbeat_timeout`.
|
1052
|
+
# Available from libzmq 4.2.0.
|
1041
1053
|
#
|
1042
1054
|
# This is the polymorphic version of #set_heartbeat_timeout.
|
1043
1055
|
#
|
@@ -1052,7 +1064,8 @@ module CZMQ
|
|
1052
1064
|
result
|
1053
1065
|
end
|
1054
1066
|
|
1055
|
-
# Get socket option `use_fd`.
|
1067
|
+
# Get socket option `use_fd`.
|
1068
|
+
# Available from libzmq 4.2.0.
|
1056
1069
|
#
|
1057
1070
|
# @return [Integer]
|
1058
1071
|
def use_fd()
|
@@ -1062,7 +1075,8 @@ module CZMQ
|
|
1062
1075
|
result
|
1063
1076
|
end
|
1064
1077
|
|
1065
|
-
# Get socket option `use_fd`.
|
1078
|
+
# Get socket option `use_fd`.
|
1079
|
+
# Available from libzmq 4.2.0.
|
1066
1080
|
#
|
1067
1081
|
# This is the polymorphic version of #use_fd.
|
1068
1082
|
#
|
@@ -1075,7 +1089,8 @@ module CZMQ
|
|
1075
1089
|
result
|
1076
1090
|
end
|
1077
1091
|
|
1078
|
-
# Set socket option `use_fd`.
|
1092
|
+
# Set socket option `use_fd`.
|
1093
|
+
# Available from libzmq 4.2.0.
|
1079
1094
|
#
|
1080
1095
|
# @param use_fd [Integer, #to_int, #to_i]
|
1081
1096
|
# @return [void]
|
@@ -1087,7 +1102,8 @@ module CZMQ
|
|
1087
1102
|
result
|
1088
1103
|
end
|
1089
1104
|
|
1090
|
-
# Set socket option `use_fd`.
|
1105
|
+
# Set socket option `use_fd`.
|
1106
|
+
# Available from libzmq 4.2.0.
|
1091
1107
|
#
|
1092
1108
|
# This is the polymorphic version of #set_use_fd.
|
1093
1109
|
#
|
@@ -1103,6 +1119,7 @@ module CZMQ
|
|
1103
1119
|
end
|
1104
1120
|
|
1105
1121
|
# Set socket option `xpub_manual`.
|
1122
|
+
# Available from libzmq 4.2.0.
|
1106
1123
|
#
|
1107
1124
|
# @param xpub_manual [Integer, #to_int, #to_i]
|
1108
1125
|
# @return [void]
|
@@ -1115,6 +1132,7 @@ module CZMQ
|
|
1115
1132
|
end
|
1116
1133
|
|
1117
1134
|
# Set socket option `xpub_manual`.
|
1135
|
+
# Available from libzmq 4.2.0.
|
1118
1136
|
#
|
1119
1137
|
# This is the polymorphic version of #set_xpub_manual.
|
1120
1138
|
#
|
@@ -1130,6 +1148,7 @@ module CZMQ
|
|
1130
1148
|
end
|
1131
1149
|
|
1132
1150
|
# Set socket option `xpub_welcome_msg`.
|
1151
|
+
# Available from libzmq 4.2.0.
|
1133
1152
|
#
|
1134
1153
|
# @param xpub_welcome_msg [String, #to_s, nil]
|
1135
1154
|
# @return [void]
|
@@ -1141,6 +1160,7 @@ module CZMQ
|
|
1141
1160
|
end
|
1142
1161
|
|
1143
1162
|
# Set socket option `xpub_welcome_msg`.
|
1163
|
+
# Available from libzmq 4.2.0.
|
1144
1164
|
#
|
1145
1165
|
# This is the polymorphic version of #set_xpub_welcome_msg.
|
1146
1166
|
#
|
@@ -1155,6 +1175,7 @@ module CZMQ
|
|
1155
1175
|
end
|
1156
1176
|
|
1157
1177
|
# Set socket option `stream_notify`.
|
1178
|
+
# Available from libzmq 4.2.0.
|
1158
1179
|
#
|
1159
1180
|
# @param stream_notify [Integer, #to_int, #to_i]
|
1160
1181
|
# @return [void]
|
@@ -1167,6 +1188,7 @@ module CZMQ
|
|
1167
1188
|
end
|
1168
1189
|
|
1169
1190
|
# Set socket option `stream_notify`.
|
1191
|
+
# Available from libzmq 4.2.0.
|
1170
1192
|
#
|
1171
1193
|
# This is the polymorphic version of #set_stream_notify.
|
1172
1194
|
#
|
@@ -1182,6 +1204,7 @@ module CZMQ
|
|
1182
1204
|
end
|
1183
1205
|
|
1184
1206
|
# Get socket option `invert_matching`.
|
1207
|
+
# Available from libzmq 4.2.0.
|
1185
1208
|
#
|
1186
1209
|
# @return [Integer]
|
1187
1210
|
def invert_matching()
|
@@ -1192,6 +1215,7 @@ module CZMQ
|
|
1192
1215
|
end
|
1193
1216
|
|
1194
1217
|
# Get socket option `invert_matching`.
|
1218
|
+
# Available from libzmq 4.2.0.
|
1195
1219
|
#
|
1196
1220
|
# This is the polymorphic version of #invert_matching.
|
1197
1221
|
#
|
@@ -1205,6 +1229,7 @@ module CZMQ
|
|
1205
1229
|
end
|
1206
1230
|
|
1207
1231
|
# Set socket option `invert_matching`.
|
1232
|
+
# Available from libzmq 4.2.0.
|
1208
1233
|
#
|
1209
1234
|
# @param invert_matching [Integer, #to_int, #to_i]
|
1210
1235
|
# @return [void]
|
@@ -1217,6 +1242,7 @@ module CZMQ
|
|
1217
1242
|
end
|
1218
1243
|
|
1219
1244
|
# Set socket option `invert_matching`.
|
1245
|
+
# Available from libzmq 4.2.0.
|
1220
1246
|
#
|
1221
1247
|
# This is the polymorphic version of #set_invert_matching.
|
1222
1248
|
#
|
@@ -1232,6 +1258,7 @@ module CZMQ
|
|
1232
1258
|
end
|
1233
1259
|
|
1234
1260
|
# Set socket option `xpub_verboser`.
|
1261
|
+
# Available from libzmq 4.2.0.
|
1235
1262
|
#
|
1236
1263
|
# @param xpub_verboser [Integer, #to_int, #to_i]
|
1237
1264
|
# @return [void]
|
@@ -1244,6 +1271,7 @@ module CZMQ
|
|
1244
1271
|
end
|
1245
1272
|
|
1246
1273
|
# Set socket option `xpub_verboser`.
|
1274
|
+
# Available from libzmq 4.2.0.
|
1247
1275
|
#
|
1248
1276
|
# This is the polymorphic version of #set_xpub_verboser.
|
1249
1277
|
#
|
@@ -1259,6 +1287,7 @@ module CZMQ
|
|
1259
1287
|
end
|
1260
1288
|
|
1261
1289
|
# Get socket option `connect_timeout`.
|
1290
|
+
# Available from libzmq 4.2.0.
|
1262
1291
|
#
|
1263
1292
|
# @return [Integer]
|
1264
1293
|
def connect_timeout()
|
@@ -1269,6 +1298,7 @@ module CZMQ
|
|
1269
1298
|
end
|
1270
1299
|
|
1271
1300
|
# Get socket option `connect_timeout`.
|
1301
|
+
# Available from libzmq 4.2.0.
|
1272
1302
|
#
|
1273
1303
|
# This is the polymorphic version of #connect_timeout.
|
1274
1304
|
#
|
@@ -1282,6 +1312,7 @@ module CZMQ
|
|
1282
1312
|
end
|
1283
1313
|
|
1284
1314
|
# Set socket option `connect_timeout`.
|
1315
|
+
# Available from libzmq 4.2.0.
|
1285
1316
|
#
|
1286
1317
|
# @param connect_timeout [Integer, #to_int, #to_i]
|
1287
1318
|
# @return [void]
|
@@ -1294,6 +1325,7 @@ module CZMQ
|
|
1294
1325
|
end
|
1295
1326
|
|
1296
1327
|
# Set socket option `connect_timeout`.
|
1328
|
+
# Available from libzmq 4.2.0.
|
1297
1329
|
#
|
1298
1330
|
# This is the polymorphic version of #set_connect_timeout.
|
1299
1331
|
#
|
@@ -1309,6 +1341,7 @@ module CZMQ
|
|
1309
1341
|
end
|
1310
1342
|
|
1311
1343
|
# Get socket option `tcp_maxrt`.
|
1344
|
+
# Available from libzmq 4.2.0.
|
1312
1345
|
#
|
1313
1346
|
# @return [Integer]
|
1314
1347
|
def tcp_maxrt()
|
@@ -1319,6 +1352,7 @@ module CZMQ
|
|
1319
1352
|
end
|
1320
1353
|
|
1321
1354
|
# Get socket option `tcp_maxrt`.
|
1355
|
+
# Available from libzmq 4.2.0.
|
1322
1356
|
#
|
1323
1357
|
# This is the polymorphic version of #tcp_maxrt.
|
1324
1358
|
#
|
@@ -1332,6 +1366,7 @@ module CZMQ
|
|
1332
1366
|
end
|
1333
1367
|
|
1334
1368
|
# Set socket option `tcp_maxrt`.
|
1369
|
+
# Available from libzmq 4.2.0.
|
1335
1370
|
#
|
1336
1371
|
# @param tcp_maxrt [Integer, #to_int, #to_i]
|
1337
1372
|
# @return [void]
|
@@ -1344,6 +1379,7 @@ module CZMQ
|
|
1344
1379
|
end
|
1345
1380
|
|
1346
1381
|
# Set socket option `tcp_maxrt`.
|
1382
|
+
# Available from libzmq 4.2.0.
|
1347
1383
|
#
|
1348
1384
|
# This is the polymorphic version of #set_tcp_maxrt.
|
1349
1385
|
#
|
@@ -1359,6 +1395,7 @@ module CZMQ
|
|
1359
1395
|
end
|
1360
1396
|
|
1361
1397
|
# Get socket option `thread_safe`.
|
1398
|
+
# Available from libzmq 4.2.0.
|
1362
1399
|
#
|
1363
1400
|
# @return [Integer]
|
1364
1401
|
def thread_safe()
|
@@ -1369,6 +1406,7 @@ module CZMQ
|
|
1369
1406
|
end
|
1370
1407
|
|
1371
1408
|
# Get socket option `thread_safe`.
|
1409
|
+
# Available from libzmq 4.2.0.
|
1372
1410
|
#
|
1373
1411
|
# This is the polymorphic version of #thread_safe.
|
1374
1412
|
#
|
@@ -1382,6 +1420,7 @@ module CZMQ
|
|
1382
1420
|
end
|
1383
1421
|
|
1384
1422
|
# Get socket option `multicast_maxtpdu`.
|
1423
|
+
# Available from libzmq 4.2.0.
|
1385
1424
|
#
|
1386
1425
|
# @return [Integer]
|
1387
1426
|
def multicast_maxtpdu()
|
@@ -1392,6 +1431,7 @@ module CZMQ
|
|
1392
1431
|
end
|
1393
1432
|
|
1394
1433
|
# Get socket option `multicast_maxtpdu`.
|
1434
|
+
# Available from libzmq 4.2.0.
|
1395
1435
|
#
|
1396
1436
|
# This is the polymorphic version of #multicast_maxtpdu.
|
1397
1437
|
#
|
@@ -1405,6 +1445,7 @@ module CZMQ
|
|
1405
1445
|
end
|
1406
1446
|
|
1407
1447
|
# Set socket option `multicast_maxtpdu`.
|
1448
|
+
# Available from libzmq 4.2.0.
|
1408
1449
|
#
|
1409
1450
|
# @param multicast_maxtpdu [Integer, #to_int, #to_i]
|
1410
1451
|
# @return [void]
|
@@ -1417,6 +1458,7 @@ module CZMQ
|
|
1417
1458
|
end
|
1418
1459
|
|
1419
1460
|
# Set socket option `multicast_maxtpdu`.
|
1461
|
+
# Available from libzmq 4.2.0.
|
1420
1462
|
#
|
1421
1463
|
# This is the polymorphic version of #set_multicast_maxtpdu.
|
1422
1464
|
#
|
@@ -1432,6 +1474,7 @@ module CZMQ
|
|
1432
1474
|
end
|
1433
1475
|
|
1434
1476
|
# Get socket option `vmci_buffer_size`.
|
1477
|
+
# Available from libzmq 4.2.0.
|
1435
1478
|
#
|
1436
1479
|
# @return [Integer]
|
1437
1480
|
def vmci_buffer_size()
|
@@ -1442,6 +1485,7 @@ module CZMQ
|
|
1442
1485
|
end
|
1443
1486
|
|
1444
1487
|
# Get socket option `vmci_buffer_size`.
|
1488
|
+
# Available from libzmq 4.2.0.
|
1445
1489
|
#
|
1446
1490
|
# This is the polymorphic version of #vmci_buffer_size.
|
1447
1491
|
#
|
@@ -1455,6 +1499,7 @@ module CZMQ
|
|
1455
1499
|
end
|
1456
1500
|
|
1457
1501
|
# Set socket option `vmci_buffer_size`.
|
1502
|
+
# Available from libzmq 4.2.0.
|
1458
1503
|
#
|
1459
1504
|
# @param vmci_buffer_size [Integer, #to_int, #to_i]
|
1460
1505
|
# @return [void]
|
@@ -1467,6 +1512,7 @@ module CZMQ
|
|
1467
1512
|
end
|
1468
1513
|
|
1469
1514
|
# Set socket option `vmci_buffer_size`.
|
1515
|
+
# Available from libzmq 4.2.0.
|
1470
1516
|
#
|
1471
1517
|
# This is the polymorphic version of #set_vmci_buffer_size.
|
1472
1518
|
#
|
@@ -1482,6 +1528,7 @@ module CZMQ
|
|
1482
1528
|
end
|
1483
1529
|
|
1484
1530
|
# Get socket option `vmci_buffer_min_size`.
|
1531
|
+
# Available from libzmq 4.2.0.
|
1485
1532
|
#
|
1486
1533
|
# @return [Integer]
|
1487
1534
|
def vmci_buffer_min_size()
|
@@ -1492,6 +1539,7 @@ module CZMQ
|
|
1492
1539
|
end
|
1493
1540
|
|
1494
1541
|
# Get socket option `vmci_buffer_min_size`.
|
1542
|
+
# Available from libzmq 4.2.0.
|
1495
1543
|
#
|
1496
1544
|
# This is the polymorphic version of #vmci_buffer_min_size.
|
1497
1545
|
#
|
@@ -1505,6 +1553,7 @@ module CZMQ
|
|
1505
1553
|
end
|
1506
1554
|
|
1507
1555
|
# Set socket option `vmci_buffer_min_size`.
|
1556
|
+
# Available from libzmq 4.2.0.
|
1508
1557
|
#
|
1509
1558
|
# @param vmci_buffer_min_size [Integer, #to_int, #to_i]
|
1510
1559
|
# @return [void]
|
@@ -1517,6 +1566,7 @@ module CZMQ
|
|
1517
1566
|
end
|
1518
1567
|
|
1519
1568
|
# Set socket option `vmci_buffer_min_size`.
|
1569
|
+
# Available from libzmq 4.2.0.
|
1520
1570
|
#
|
1521
1571
|
# This is the polymorphic version of #set_vmci_buffer_min_size.
|
1522
1572
|
#
|
@@ -1532,6 +1582,7 @@ module CZMQ
|
|
1532
1582
|
end
|
1533
1583
|
|
1534
1584
|
# Get socket option `vmci_buffer_max_size`.
|
1585
|
+
# Available from libzmq 4.2.0.
|
1535
1586
|
#
|
1536
1587
|
# @return [Integer]
|
1537
1588
|
def vmci_buffer_max_size()
|
@@ -1542,6 +1593,7 @@ module CZMQ
|
|
1542
1593
|
end
|
1543
1594
|
|
1544
1595
|
# Get socket option `vmci_buffer_max_size`.
|
1596
|
+
# Available from libzmq 4.2.0.
|
1545
1597
|
#
|
1546
1598
|
# This is the polymorphic version of #vmci_buffer_max_size.
|
1547
1599
|
#
|
@@ -1555,6 +1607,7 @@ module CZMQ
|
|
1555
1607
|
end
|
1556
1608
|
|
1557
1609
|
# Set socket option `vmci_buffer_max_size`.
|
1610
|
+
# Available from libzmq 4.2.0.
|
1558
1611
|
#
|
1559
1612
|
# @param vmci_buffer_max_size [Integer, #to_int, #to_i]
|
1560
1613
|
# @return [void]
|
@@ -1567,6 +1620,7 @@ module CZMQ
|
|
1567
1620
|
end
|
1568
1621
|
|
1569
1622
|
# Set socket option `vmci_buffer_max_size`.
|
1623
|
+
# Available from libzmq 4.2.0.
|
1570
1624
|
#
|
1571
1625
|
# This is the polymorphic version of #set_vmci_buffer_max_size.
|
1572
1626
|
#
|
@@ -1582,6 +1636,7 @@ module CZMQ
|
|
1582
1636
|
end
|
1583
1637
|
|
1584
1638
|
# Get socket option `vmci_connect_timeout`.
|
1639
|
+
# Available from libzmq 4.2.0.
|
1585
1640
|
#
|
1586
1641
|
# @return [Integer]
|
1587
1642
|
def vmci_connect_timeout()
|
@@ -1592,6 +1647,7 @@ module CZMQ
|
|
1592
1647
|
end
|
1593
1648
|
|
1594
1649
|
# Get socket option `vmci_connect_timeout`.
|
1650
|
+
# Available from libzmq 4.2.0.
|
1595
1651
|
#
|
1596
1652
|
# This is the polymorphic version of #vmci_connect_timeout.
|
1597
1653
|
#
|
@@ -1605,6 +1661,7 @@ module CZMQ
|
|
1605
1661
|
end
|
1606
1662
|
|
1607
1663
|
# Set socket option `vmci_connect_timeout`.
|
1664
|
+
# Available from libzmq 4.2.0.
|
1608
1665
|
#
|
1609
1666
|
# @param vmci_connect_timeout [Integer, #to_int, #to_i]
|
1610
1667
|
# @return [void]
|
@@ -1617,6 +1674,7 @@ module CZMQ
|
|
1617
1674
|
end
|
1618
1675
|
|
1619
1676
|
# Set socket option `vmci_connect_timeout`.
|
1677
|
+
# Available from libzmq 4.2.0.
|
1620
1678
|
#
|
1621
1679
|
# This is the polymorphic version of #set_vmci_connect_timeout.
|
1622
1680
|
#
|
@@ -1631,7 +1689,8 @@ module CZMQ
|
|
1631
1689
|
result
|
1632
1690
|
end
|
1633
1691
|
|
1634
|
-
# Get socket option `tos`.
|
1692
|
+
# Get socket option `tos`.
|
1693
|
+
# Available from libzmq 4.1.0.
|
1635
1694
|
#
|
1636
1695
|
# @return [Integer]
|
1637
1696
|
def tos()
|
@@ -1641,7 +1700,8 @@ module CZMQ
|
|
1641
1700
|
result
|
1642
1701
|
end
|
1643
1702
|
|
1644
|
-
# Get socket option `tos`.
|
1703
|
+
# Get socket option `tos`.
|
1704
|
+
# Available from libzmq 4.1.0.
|
1645
1705
|
#
|
1646
1706
|
# This is the polymorphic version of #tos.
|
1647
1707
|
#
|
@@ -1654,7 +1714,8 @@ module CZMQ
|
|
1654
1714
|
result
|
1655
1715
|
end
|
1656
1716
|
|
1657
|
-
# Set socket option `tos`.
|
1717
|
+
# Set socket option `tos`.
|
1718
|
+
# Available from libzmq 4.1.0.
|
1658
1719
|
#
|
1659
1720
|
# @param tos [Integer, #to_int, #to_i]
|
1660
1721
|
# @return [void]
|
@@ -1666,7 +1727,8 @@ module CZMQ
|
|
1666
1727
|
result
|
1667
1728
|
end
|
1668
1729
|
|
1669
|
-
# Set socket option `tos`.
|
1730
|
+
# Set socket option `tos`.
|
1731
|
+
# Available from libzmq 4.1.0.
|
1670
1732
|
#
|
1671
1733
|
# This is the polymorphic version of #set_tos.
|
1672
1734
|
#
|
@@ -1682,6 +1744,7 @@ module CZMQ
|
|
1682
1744
|
end
|
1683
1745
|
|
1684
1746
|
# Set socket option `router_handover`.
|
1747
|
+
# Available from libzmq 4.1.0.
|
1685
1748
|
#
|
1686
1749
|
# @param router_handover [Integer, #to_int, #to_i]
|
1687
1750
|
# @return [void]
|
@@ -1694,6 +1757,7 @@ module CZMQ
|
|
1694
1757
|
end
|
1695
1758
|
|
1696
1759
|
# Set socket option `router_handover`.
|
1760
|
+
# Available from libzmq 4.1.0.
|
1697
1761
|
#
|
1698
1762
|
# This is the polymorphic version of #set_router_handover.
|
1699
1763
|
#
|
@@ -1709,6 +1773,7 @@ module CZMQ
|
|
1709
1773
|
end
|
1710
1774
|
|
1711
1775
|
# Set socket option `connect_rid`.
|
1776
|
+
# Available from libzmq 4.1.0.
|
1712
1777
|
#
|
1713
1778
|
# @param connect_rid [String, #to_s, nil]
|
1714
1779
|
# @return [void]
|
@@ -1720,6 +1785,7 @@ module CZMQ
|
|
1720
1785
|
end
|
1721
1786
|
|
1722
1787
|
# Set socket option `connect_rid`.
|
1788
|
+
# Available from libzmq 4.1.0.
|
1723
1789
|
#
|
1724
1790
|
# This is the polymorphic version of #set_connect_rid.
|
1725
1791
|
#
|
@@ -1734,6 +1800,7 @@ module CZMQ
|
|
1734
1800
|
end
|
1735
1801
|
|
1736
1802
|
# Set socket option `connect_rid` from 32-octet binary
|
1803
|
+
# Available from libzmq 4.1.0.
|
1737
1804
|
#
|
1738
1805
|
# @param connect_rid [::FFI::Pointer, #to_ptr]
|
1739
1806
|
# @return [void]
|
@@ -1745,6 +1812,7 @@ module CZMQ
|
|
1745
1812
|
end
|
1746
1813
|
|
1747
1814
|
# Set socket option `connect_rid` from 32-octet binary
|
1815
|
+
# Available from libzmq 4.1.0.
|
1748
1816
|
#
|
1749
1817
|
# This is the polymorphic version of #set_connect_rid_bin.
|
1750
1818
|
#
|
@@ -1759,6 +1827,7 @@ module CZMQ
|
|
1759
1827
|
end
|
1760
1828
|
|
1761
1829
|
# Get socket option `handshake_ivl`.
|
1830
|
+
# Available from libzmq 4.1.0.
|
1762
1831
|
#
|
1763
1832
|
# @return [Integer]
|
1764
1833
|
def handshake_ivl()
|
@@ -1769,6 +1838,7 @@ module CZMQ
|
|
1769
1838
|
end
|
1770
1839
|
|
1771
1840
|
# Get socket option `handshake_ivl`.
|
1841
|
+
# Available from libzmq 4.1.0.
|
1772
1842
|
#
|
1773
1843
|
# This is the polymorphic version of #handshake_ivl.
|
1774
1844
|
#
|
@@ -1782,6 +1852,7 @@ module CZMQ
|
|
1782
1852
|
end
|
1783
1853
|
|
1784
1854
|
# Set socket option `handshake_ivl`.
|
1855
|
+
# Available from libzmq 4.1.0.
|
1785
1856
|
#
|
1786
1857
|
# @param handshake_ivl [Integer, #to_int, #to_i]
|
1787
1858
|
# @return [void]
|
@@ -1794,6 +1865,7 @@ module CZMQ
|
|
1794
1865
|
end
|
1795
1866
|
|
1796
1867
|
# Set socket option `handshake_ivl`.
|
1868
|
+
# Available from libzmq 4.1.0.
|
1797
1869
|
#
|
1798
1870
|
# This is the polymorphic version of #set_handshake_ivl.
|
1799
1871
|
#
|
@@ -1809,6 +1881,7 @@ module CZMQ
|
|
1809
1881
|
end
|
1810
1882
|
|
1811
1883
|
# Get socket option `socks_proxy`.
|
1884
|
+
# Available from libzmq 4.1.0.
|
1812
1885
|
#
|
1813
1886
|
# @return [::FFI::AutoPointer]
|
1814
1887
|
def socks_proxy()
|
@@ -1820,6 +1893,7 @@ module CZMQ
|
|
1820
1893
|
end
|
1821
1894
|
|
1822
1895
|
# Get socket option `socks_proxy`.
|
1896
|
+
# Available from libzmq 4.1.0.
|
1823
1897
|
#
|
1824
1898
|
# This is the polymorphic version of #socks_proxy.
|
1825
1899
|
#
|
@@ -1834,6 +1908,7 @@ module CZMQ
|
|
1834
1908
|
end
|
1835
1909
|
|
1836
1910
|
# Set socket option `socks_proxy`.
|
1911
|
+
# Available from libzmq 4.1.0.
|
1837
1912
|
#
|
1838
1913
|
# @param socks_proxy [String, #to_s, nil]
|
1839
1914
|
# @return [void]
|
@@ -1845,6 +1920,7 @@ module CZMQ
|
|
1845
1920
|
end
|
1846
1921
|
|
1847
1922
|
# Set socket option `socks_proxy`.
|
1923
|
+
# Available from libzmq 4.1.0.
|
1848
1924
|
#
|
1849
1925
|
# This is the polymorphic version of #set_socks_proxy.
|
1850
1926
|
#
|
@@ -1859,6 +1935,7 @@ module CZMQ
|
|
1859
1935
|
end
|
1860
1936
|
|
1861
1937
|
# Set socket option `xpub_nodrop`.
|
1938
|
+
# Available from libzmq 4.1.0.
|
1862
1939
|
#
|
1863
1940
|
# @param xpub_nodrop [Integer, #to_int, #to_i]
|
1864
1941
|
# @return [void]
|
@@ -1871,6 +1948,7 @@ module CZMQ
|
|
1871
1948
|
end
|
1872
1949
|
|
1873
1950
|
# Set socket option `xpub_nodrop`.
|
1951
|
+
# Available from libzmq 4.1.0.
|
1874
1952
|
#
|
1875
1953
|
# This is the polymorphic version of #set_xpub_nodrop.
|
1876
1954
|
#
|
@@ -1886,6 +1964,7 @@ module CZMQ
|
|
1886
1964
|
end
|
1887
1965
|
|
1888
1966
|
# Set socket option `router_mandatory`.
|
1967
|
+
# Available from libzmq 4.0.0.
|
1889
1968
|
#
|
1890
1969
|
# @param router_mandatory [Integer, #to_int, #to_i]
|
1891
1970
|
# @return [void]
|
@@ -1898,6 +1977,7 @@ module CZMQ
|
|
1898
1977
|
end
|
1899
1978
|
|
1900
1979
|
# Set socket option `router_mandatory`.
|
1980
|
+
# Available from libzmq 4.0.0.
|
1901
1981
|
#
|
1902
1982
|
# This is the polymorphic version of #set_router_mandatory.
|
1903
1983
|
#
|
@@ -1913,6 +1993,7 @@ module CZMQ
|
|
1913
1993
|
end
|
1914
1994
|
|
1915
1995
|
# Set socket option `probe_router`.
|
1996
|
+
# Available from libzmq 4.0.0.
|
1916
1997
|
#
|
1917
1998
|
# @param probe_router [Integer, #to_int, #to_i]
|
1918
1999
|
# @return [void]
|
@@ -1925,6 +2006,7 @@ module CZMQ
|
|
1925
2006
|
end
|
1926
2007
|
|
1927
2008
|
# Set socket option `probe_router`.
|
2009
|
+
# Available from libzmq 4.0.0.
|
1928
2010
|
#
|
1929
2011
|
# This is the polymorphic version of #set_probe_router.
|
1930
2012
|
#
|
@@ -1940,6 +2022,7 @@ module CZMQ
|
|
1940
2022
|
end
|
1941
2023
|
|
1942
2024
|
# Set socket option `req_relaxed`.
|
2025
|
+
# Available from libzmq 4.0.0.
|
1943
2026
|
#
|
1944
2027
|
# @param req_relaxed [Integer, #to_int, #to_i]
|
1945
2028
|
# @return [void]
|
@@ -1952,6 +2035,7 @@ module CZMQ
|
|
1952
2035
|
end
|
1953
2036
|
|
1954
2037
|
# Set socket option `req_relaxed`.
|
2038
|
+
# Available from libzmq 4.0.0.
|
1955
2039
|
#
|
1956
2040
|
# This is the polymorphic version of #set_req_relaxed.
|
1957
2041
|
#
|
@@ -1967,6 +2051,7 @@ module CZMQ
|
|
1967
2051
|
end
|
1968
2052
|
|
1969
2053
|
# Set socket option `req_correlate`.
|
2054
|
+
# Available from libzmq 4.0.0.
|
1970
2055
|
#
|
1971
2056
|
# @param req_correlate [Integer, #to_int, #to_i]
|
1972
2057
|
# @return [void]
|
@@ -1979,6 +2064,7 @@ module CZMQ
|
|
1979
2064
|
end
|
1980
2065
|
|
1981
2066
|
# Set socket option `req_correlate`.
|
2067
|
+
# Available from libzmq 4.0.0.
|
1982
2068
|
#
|
1983
2069
|
# This is the polymorphic version of #set_req_correlate.
|
1984
2070
|
#
|
@@ -1994,6 +2080,7 @@ module CZMQ
|
|
1994
2080
|
end
|
1995
2081
|
|
1996
2082
|
# Set socket option `conflate`.
|
2083
|
+
# Available from libzmq 4.0.0.
|
1997
2084
|
#
|
1998
2085
|
# @param conflate [Integer, #to_int, #to_i]
|
1999
2086
|
# @return [void]
|
@@ -2006,6 +2093,7 @@ module CZMQ
|
|
2006
2093
|
end
|
2007
2094
|
|
2008
2095
|
# Set socket option `conflate`.
|
2096
|
+
# Available from libzmq 4.0.0.
|
2009
2097
|
#
|
2010
2098
|
# This is the polymorphic version of #set_conflate.
|
2011
2099
|
#
|
@@ -2021,6 +2109,7 @@ module CZMQ
|
|
2021
2109
|
end
|
2022
2110
|
|
2023
2111
|
# Get socket option `zap_domain`.
|
2112
|
+
# Available from libzmq 4.0.0.
|
2024
2113
|
#
|
2025
2114
|
# @return [::FFI::AutoPointer]
|
2026
2115
|
def zap_domain()
|
@@ -2032,6 +2121,7 @@ module CZMQ
|
|
2032
2121
|
end
|
2033
2122
|
|
2034
2123
|
# Get socket option `zap_domain`.
|
2124
|
+
# Available from libzmq 4.0.0.
|
2035
2125
|
#
|
2036
2126
|
# This is the polymorphic version of #zap_domain.
|
2037
2127
|
#
|
@@ -2046,6 +2136,7 @@ module CZMQ
|
|
2046
2136
|
end
|
2047
2137
|
|
2048
2138
|
# Set socket option `zap_domain`.
|
2139
|
+
# Available from libzmq 4.0.0.
|
2049
2140
|
#
|
2050
2141
|
# @param zap_domain [String, #to_s, nil]
|
2051
2142
|
# @return [void]
|
@@ -2057,6 +2148,7 @@ module CZMQ
|
|
2057
2148
|
end
|
2058
2149
|
|
2059
2150
|
# Set socket option `zap_domain`.
|
2151
|
+
# Available from libzmq 4.0.0.
|
2060
2152
|
#
|
2061
2153
|
# This is the polymorphic version of #set_zap_domain.
|
2062
2154
|
#
|
@@ -2071,6 +2163,7 @@ module CZMQ
|
|
2071
2163
|
end
|
2072
2164
|
|
2073
2165
|
# Get socket option `mechanism`.
|
2166
|
+
# Available from libzmq 4.0.0.
|
2074
2167
|
#
|
2075
2168
|
# @return [Integer]
|
2076
2169
|
def mechanism()
|
@@ -2081,6 +2174,7 @@ module CZMQ
|
|
2081
2174
|
end
|
2082
2175
|
|
2083
2176
|
# Get socket option `mechanism`.
|
2177
|
+
# Available from libzmq 4.0.0.
|
2084
2178
|
#
|
2085
2179
|
# This is the polymorphic version of #mechanism.
|
2086
2180
|
#
|
@@ -2094,6 +2188,7 @@ module CZMQ
|
|
2094
2188
|
end
|
2095
2189
|
|
2096
2190
|
# Get socket option `plain_server`.
|
2191
|
+
# Available from libzmq 4.0.0.
|
2097
2192
|
#
|
2098
2193
|
# @return [Integer]
|
2099
2194
|
def plain_server()
|
@@ -2104,6 +2199,7 @@ module CZMQ
|
|
2104
2199
|
end
|
2105
2200
|
|
2106
2201
|
# Get socket option `plain_server`.
|
2202
|
+
# Available from libzmq 4.0.0.
|
2107
2203
|
#
|
2108
2204
|
# This is the polymorphic version of #plain_server.
|
2109
2205
|
#
|
@@ -2117,6 +2213,7 @@ module CZMQ
|
|
2117
2213
|
end
|
2118
2214
|
|
2119
2215
|
# Set socket option `plain_server`.
|
2216
|
+
# Available from libzmq 4.0.0.
|
2120
2217
|
#
|
2121
2218
|
# @param plain_server [Integer, #to_int, #to_i]
|
2122
2219
|
# @return [void]
|
@@ -2129,6 +2226,7 @@ module CZMQ
|
|
2129
2226
|
end
|
2130
2227
|
|
2131
2228
|
# Set socket option `plain_server`.
|
2229
|
+
# Available from libzmq 4.0.0.
|
2132
2230
|
#
|
2133
2231
|
# This is the polymorphic version of #set_plain_server.
|
2134
2232
|
#
|
@@ -2144,6 +2242,7 @@ module CZMQ
|
|
2144
2242
|
end
|
2145
2243
|
|
2146
2244
|
# Get socket option `plain_username`.
|
2245
|
+
# Available from libzmq 4.0.0.
|
2147
2246
|
#
|
2148
2247
|
# @return [::FFI::AutoPointer]
|
2149
2248
|
def plain_username()
|
@@ -2155,6 +2254,7 @@ module CZMQ
|
|
2155
2254
|
end
|
2156
2255
|
|
2157
2256
|
# Get socket option `plain_username`.
|
2257
|
+
# Available from libzmq 4.0.0.
|
2158
2258
|
#
|
2159
2259
|
# This is the polymorphic version of #plain_username.
|
2160
2260
|
#
|
@@ -2169,6 +2269,7 @@ module CZMQ
|
|
2169
2269
|
end
|
2170
2270
|
|
2171
2271
|
# Set socket option `plain_username`.
|
2272
|
+
# Available from libzmq 4.0.0.
|
2172
2273
|
#
|
2173
2274
|
# @param plain_username [String, #to_s, nil]
|
2174
2275
|
# @return [void]
|
@@ -2180,6 +2281,7 @@ module CZMQ
|
|
2180
2281
|
end
|
2181
2282
|
|
2182
2283
|
# Set socket option `plain_username`.
|
2284
|
+
# Available from libzmq 4.0.0.
|
2183
2285
|
#
|
2184
2286
|
# This is the polymorphic version of #set_plain_username.
|
2185
2287
|
#
|
@@ -2194,6 +2296,7 @@ module CZMQ
|
|
2194
2296
|
end
|
2195
2297
|
|
2196
2298
|
# Get socket option `plain_password`.
|
2299
|
+
# Available from libzmq 4.0.0.
|
2197
2300
|
#
|
2198
2301
|
# @return [::FFI::AutoPointer]
|
2199
2302
|
def plain_password()
|
@@ -2205,6 +2308,7 @@ module CZMQ
|
|
2205
2308
|
end
|
2206
2309
|
|
2207
2310
|
# Get socket option `plain_password`.
|
2311
|
+
# Available from libzmq 4.0.0.
|
2208
2312
|
#
|
2209
2313
|
# This is the polymorphic version of #plain_password.
|
2210
2314
|
#
|
@@ -2219,6 +2323,7 @@ module CZMQ
|
|
2219
2323
|
end
|
2220
2324
|
|
2221
2325
|
# Set socket option `plain_password`.
|
2326
|
+
# Available from libzmq 4.0.0.
|
2222
2327
|
#
|
2223
2328
|
# @param plain_password [String, #to_s, nil]
|
2224
2329
|
# @return [void]
|
@@ -2230,6 +2335,7 @@ module CZMQ
|
|
2230
2335
|
end
|
2231
2336
|
|
2232
2337
|
# Set socket option `plain_password`.
|
2338
|
+
# Available from libzmq 4.0.0.
|
2233
2339
|
#
|
2234
2340
|
# This is the polymorphic version of #set_plain_password.
|
2235
2341
|
#
|
@@ -2244,6 +2350,7 @@ module CZMQ
|
|
2244
2350
|
end
|
2245
2351
|
|
2246
2352
|
# Get socket option `curve_server`.
|
2353
|
+
# Available from libzmq 4.0.0.
|
2247
2354
|
#
|
2248
2355
|
# @return [Integer]
|
2249
2356
|
def curve_server()
|
@@ -2254,6 +2361,7 @@ module CZMQ
|
|
2254
2361
|
end
|
2255
2362
|
|
2256
2363
|
# Get socket option `curve_server`.
|
2364
|
+
# Available from libzmq 4.0.0.
|
2257
2365
|
#
|
2258
2366
|
# This is the polymorphic version of #curve_server.
|
2259
2367
|
#
|
@@ -2267,6 +2375,7 @@ module CZMQ
|
|
2267
2375
|
end
|
2268
2376
|
|
2269
2377
|
# Set socket option `curve_server`.
|
2378
|
+
# Available from libzmq 4.0.0.
|
2270
2379
|
#
|
2271
2380
|
# @param curve_server [Integer, #to_int, #to_i]
|
2272
2381
|
# @return [void]
|
@@ -2279,6 +2388,7 @@ module CZMQ
|
|
2279
2388
|
end
|
2280
2389
|
|
2281
2390
|
# Set socket option `curve_server`.
|
2391
|
+
# Available from libzmq 4.0.0.
|
2282
2392
|
#
|
2283
2393
|
# This is the polymorphic version of #set_curve_server.
|
2284
2394
|
#
|
@@ -2294,6 +2404,7 @@ module CZMQ
|
|
2294
2404
|
end
|
2295
2405
|
|
2296
2406
|
# Get socket option `curve_publickey`.
|
2407
|
+
# Available from libzmq 4.0.0.
|
2297
2408
|
#
|
2298
2409
|
# @return [::FFI::AutoPointer]
|
2299
2410
|
def curve_publickey()
|
@@ -2305,6 +2416,7 @@ module CZMQ
|
|
2305
2416
|
end
|
2306
2417
|
|
2307
2418
|
# Get socket option `curve_publickey`.
|
2419
|
+
# Available from libzmq 4.0.0.
|
2308
2420
|
#
|
2309
2421
|
# This is the polymorphic version of #curve_publickey.
|
2310
2422
|
#
|
@@ -2319,6 +2431,7 @@ module CZMQ
|
|
2319
2431
|
end
|
2320
2432
|
|
2321
2433
|
# Set socket option `curve_publickey`.
|
2434
|
+
# Available from libzmq 4.0.0.
|
2322
2435
|
#
|
2323
2436
|
# @param curve_publickey [String, #to_s, nil]
|
2324
2437
|
# @return [void]
|
@@ -2330,6 +2443,7 @@ module CZMQ
|
|
2330
2443
|
end
|
2331
2444
|
|
2332
2445
|
# Set socket option `curve_publickey`.
|
2446
|
+
# Available from libzmq 4.0.0.
|
2333
2447
|
#
|
2334
2448
|
# This is the polymorphic version of #set_curve_publickey.
|
2335
2449
|
#
|
@@ -2344,6 +2458,7 @@ module CZMQ
|
|
2344
2458
|
end
|
2345
2459
|
|
2346
2460
|
# Set socket option `curve_publickey` from 32-octet binary
|
2461
|
+
# Available from libzmq 4.0.0.
|
2347
2462
|
#
|
2348
2463
|
# @param curve_publickey [::FFI::Pointer, #to_ptr]
|
2349
2464
|
# @return [void]
|
@@ -2355,6 +2470,7 @@ module CZMQ
|
|
2355
2470
|
end
|
2356
2471
|
|
2357
2472
|
# Set socket option `curve_publickey` from 32-octet binary
|
2473
|
+
# Available from libzmq 4.0.0.
|
2358
2474
|
#
|
2359
2475
|
# This is the polymorphic version of #set_curve_publickey_bin.
|
2360
2476
|
#
|
@@ -2369,6 +2485,7 @@ module CZMQ
|
|
2369
2485
|
end
|
2370
2486
|
|
2371
2487
|
# Get socket option `curve_secretkey`.
|
2488
|
+
# Available from libzmq 4.0.0.
|
2372
2489
|
#
|
2373
2490
|
# @return [::FFI::AutoPointer]
|
2374
2491
|
def curve_secretkey()
|
@@ -2380,6 +2497,7 @@ module CZMQ
|
|
2380
2497
|
end
|
2381
2498
|
|
2382
2499
|
# Get socket option `curve_secretkey`.
|
2500
|
+
# Available from libzmq 4.0.0.
|
2383
2501
|
#
|
2384
2502
|
# This is the polymorphic version of #curve_secretkey.
|
2385
2503
|
#
|
@@ -2394,6 +2512,7 @@ module CZMQ
|
|
2394
2512
|
end
|
2395
2513
|
|
2396
2514
|
# Set socket option `curve_secretkey`.
|
2515
|
+
# Available from libzmq 4.0.0.
|
2397
2516
|
#
|
2398
2517
|
# @param curve_secretkey [String, #to_s, nil]
|
2399
2518
|
# @return [void]
|
@@ -2405,6 +2524,7 @@ module CZMQ
|
|
2405
2524
|
end
|
2406
2525
|
|
2407
2526
|
# Set socket option `curve_secretkey`.
|
2527
|
+
# Available from libzmq 4.0.0.
|
2408
2528
|
#
|
2409
2529
|
# This is the polymorphic version of #set_curve_secretkey.
|
2410
2530
|
#
|
@@ -2419,6 +2539,7 @@ module CZMQ
|
|
2419
2539
|
end
|
2420
2540
|
|
2421
2541
|
# Set socket option `curve_secretkey` from 32-octet binary
|
2542
|
+
# Available from libzmq 4.0.0.
|
2422
2543
|
#
|
2423
2544
|
# @param curve_secretkey [::FFI::Pointer, #to_ptr]
|
2424
2545
|
# @return [void]
|
@@ -2430,6 +2551,7 @@ module CZMQ
|
|
2430
2551
|
end
|
2431
2552
|
|
2432
2553
|
# Set socket option `curve_secretkey` from 32-octet binary
|
2554
|
+
# Available from libzmq 4.0.0.
|
2433
2555
|
#
|
2434
2556
|
# This is the polymorphic version of #set_curve_secretkey_bin.
|
2435
2557
|
#
|
@@ -2444,6 +2566,7 @@ module CZMQ
|
|
2444
2566
|
end
|
2445
2567
|
|
2446
2568
|
# Get socket option `curve_serverkey`.
|
2569
|
+
# Available from libzmq 4.0.0.
|
2447
2570
|
#
|
2448
2571
|
# @return [::FFI::AutoPointer]
|
2449
2572
|
def curve_serverkey()
|
@@ -2455,6 +2578,7 @@ module CZMQ
|
|
2455
2578
|
end
|
2456
2579
|
|
2457
2580
|
# Get socket option `curve_serverkey`.
|
2581
|
+
# Available from libzmq 4.0.0.
|
2458
2582
|
#
|
2459
2583
|
# This is the polymorphic version of #curve_serverkey.
|
2460
2584
|
#
|
@@ -2469,6 +2593,7 @@ module CZMQ
|
|
2469
2593
|
end
|
2470
2594
|
|
2471
2595
|
# Set socket option `curve_serverkey`.
|
2596
|
+
# Available from libzmq 4.0.0.
|
2472
2597
|
#
|
2473
2598
|
# @param curve_serverkey [String, #to_s, nil]
|
2474
2599
|
# @return [void]
|
@@ -2480,6 +2605,7 @@ module CZMQ
|
|
2480
2605
|
end
|
2481
2606
|
|
2482
2607
|
# Set socket option `curve_serverkey`.
|
2608
|
+
# Available from libzmq 4.0.0.
|
2483
2609
|
#
|
2484
2610
|
# This is the polymorphic version of #set_curve_serverkey.
|
2485
2611
|
#
|
@@ -2494,6 +2620,7 @@ module CZMQ
|
|
2494
2620
|
end
|
2495
2621
|
|
2496
2622
|
# Set socket option `curve_serverkey` from 32-octet binary
|
2623
|
+
# Available from libzmq 4.0.0.
|
2497
2624
|
#
|
2498
2625
|
# @param curve_serverkey [::FFI::Pointer, #to_ptr]
|
2499
2626
|
# @return [void]
|
@@ -2505,6 +2632,7 @@ module CZMQ
|
|
2505
2632
|
end
|
2506
2633
|
|
2507
2634
|
# Set socket option `curve_serverkey` from 32-octet binary
|
2635
|
+
# Available from libzmq 4.0.0.
|
2508
2636
|
#
|
2509
2637
|
# This is the polymorphic version of #set_curve_serverkey_bin.
|
2510
2638
|
#
|
@@ -2519,6 +2647,7 @@ module CZMQ
|
|
2519
2647
|
end
|
2520
2648
|
|
2521
2649
|
# Get socket option `gssapi_server`.
|
2650
|
+
# Available from libzmq 4.0.0.
|
2522
2651
|
#
|
2523
2652
|
# @return [Integer]
|
2524
2653
|
def gssapi_server()
|
@@ -2529,6 +2658,7 @@ module CZMQ
|
|
2529
2658
|
end
|
2530
2659
|
|
2531
2660
|
# Get socket option `gssapi_server`.
|
2661
|
+
# Available from libzmq 4.0.0.
|
2532
2662
|
#
|
2533
2663
|
# This is the polymorphic version of #gssapi_server.
|
2534
2664
|
#
|
@@ -2542,6 +2672,7 @@ module CZMQ
|
|
2542
2672
|
end
|
2543
2673
|
|
2544
2674
|
# Set socket option `gssapi_server`.
|
2675
|
+
# Available from libzmq 4.0.0.
|
2545
2676
|
#
|
2546
2677
|
# @param gssapi_server [Integer, #to_int, #to_i]
|
2547
2678
|
# @return [void]
|
@@ -2554,6 +2685,7 @@ module CZMQ
|
|
2554
2685
|
end
|
2555
2686
|
|
2556
2687
|
# Set socket option `gssapi_server`.
|
2688
|
+
# Available from libzmq 4.0.0.
|
2557
2689
|
#
|
2558
2690
|
# This is the polymorphic version of #set_gssapi_server.
|
2559
2691
|
#
|
@@ -2569,6 +2701,7 @@ module CZMQ
|
|
2569
2701
|
end
|
2570
2702
|
|
2571
2703
|
# Get socket option `gssapi_plaintext`.
|
2704
|
+
# Available from libzmq 4.0.0.
|
2572
2705
|
#
|
2573
2706
|
# @return [Integer]
|
2574
2707
|
def gssapi_plaintext()
|
@@ -2579,6 +2712,7 @@ module CZMQ
|
|
2579
2712
|
end
|
2580
2713
|
|
2581
2714
|
# Get socket option `gssapi_plaintext`.
|
2715
|
+
# Available from libzmq 4.0.0.
|
2582
2716
|
#
|
2583
2717
|
# This is the polymorphic version of #gssapi_plaintext.
|
2584
2718
|
#
|
@@ -2592,6 +2726,7 @@ module CZMQ
|
|
2592
2726
|
end
|
2593
2727
|
|
2594
2728
|
# Set socket option `gssapi_plaintext`.
|
2729
|
+
# Available from libzmq 4.0.0.
|
2595
2730
|
#
|
2596
2731
|
# @param gssapi_plaintext [Integer, #to_int, #to_i]
|
2597
2732
|
# @return [void]
|
@@ -2604,6 +2739,7 @@ module CZMQ
|
|
2604
2739
|
end
|
2605
2740
|
|
2606
2741
|
# Set socket option `gssapi_plaintext`.
|
2742
|
+
# Available from libzmq 4.0.0.
|
2607
2743
|
#
|
2608
2744
|
# This is the polymorphic version of #set_gssapi_plaintext.
|
2609
2745
|
#
|
@@ -2619,6 +2755,7 @@ module CZMQ
|
|
2619
2755
|
end
|
2620
2756
|
|
2621
2757
|
# Get socket option `gssapi_principal`.
|
2758
|
+
# Available from libzmq 4.0.0.
|
2622
2759
|
#
|
2623
2760
|
# @return [::FFI::AutoPointer]
|
2624
2761
|
def gssapi_principal()
|
@@ -2630,6 +2767,7 @@ module CZMQ
|
|
2630
2767
|
end
|
2631
2768
|
|
2632
2769
|
# Get socket option `gssapi_principal`.
|
2770
|
+
# Available from libzmq 4.0.0.
|
2633
2771
|
#
|
2634
2772
|
# This is the polymorphic version of #gssapi_principal.
|
2635
2773
|
#
|
@@ -2644,6 +2782,7 @@ module CZMQ
|
|
2644
2782
|
end
|
2645
2783
|
|
2646
2784
|
# Set socket option `gssapi_principal`.
|
2785
|
+
# Available from libzmq 4.0.0.
|
2647
2786
|
#
|
2648
2787
|
# @param gssapi_principal [String, #to_s, nil]
|
2649
2788
|
# @return [void]
|
@@ -2655,6 +2794,7 @@ module CZMQ
|
|
2655
2794
|
end
|
2656
2795
|
|
2657
2796
|
# Set socket option `gssapi_principal`.
|
2797
|
+
# Available from libzmq 4.0.0.
|
2658
2798
|
#
|
2659
2799
|
# This is the polymorphic version of #set_gssapi_principal.
|
2660
2800
|
#
|
@@ -2669,6 +2809,7 @@ module CZMQ
|
|
2669
2809
|
end
|
2670
2810
|
|
2671
2811
|
# Get socket option `gssapi_service_principal`.
|
2812
|
+
# Available from libzmq 4.0.0.
|
2672
2813
|
#
|
2673
2814
|
# @return [::FFI::AutoPointer]
|
2674
2815
|
def gssapi_service_principal()
|
@@ -2680,6 +2821,7 @@ module CZMQ
|
|
2680
2821
|
end
|
2681
2822
|
|
2682
2823
|
# Get socket option `gssapi_service_principal`.
|
2824
|
+
# Available from libzmq 4.0.0.
|
2683
2825
|
#
|
2684
2826
|
# This is the polymorphic version of #gssapi_service_principal.
|
2685
2827
|
#
|
@@ -2694,6 +2836,7 @@ module CZMQ
|
|
2694
2836
|
end
|
2695
2837
|
|
2696
2838
|
# Set socket option `gssapi_service_principal`.
|
2839
|
+
# Available from libzmq 4.0.0.
|
2697
2840
|
#
|
2698
2841
|
# @param gssapi_service_principal [String, #to_s, nil]
|
2699
2842
|
# @return [void]
|
@@ -2705,6 +2848,7 @@ module CZMQ
|
|
2705
2848
|
end
|
2706
2849
|
|
2707
2850
|
# Set socket option `gssapi_service_principal`.
|
2851
|
+
# Available from libzmq 4.0.0.
|
2708
2852
|
#
|
2709
2853
|
# This is the polymorphic version of #set_gssapi_service_principal.
|
2710
2854
|
#
|
@@ -2718,7 +2862,8 @@ module CZMQ
|
|
2718
2862
|
result
|
2719
2863
|
end
|
2720
2864
|
|
2721
|
-
# Get socket option `ipv6`.
|
2865
|
+
# Get socket option `ipv6`.
|
2866
|
+
# Available from libzmq 4.0.0.
|
2722
2867
|
#
|
2723
2868
|
# @return [Integer]
|
2724
2869
|
def ipv6()
|
@@ -2728,7 +2873,8 @@ module CZMQ
|
|
2728
2873
|
result
|
2729
2874
|
end
|
2730
2875
|
|
2731
|
-
# Get socket option `ipv6`.
|
2876
|
+
# Get socket option `ipv6`.
|
2877
|
+
# Available from libzmq 4.0.0.
|
2732
2878
|
#
|
2733
2879
|
# This is the polymorphic version of #ipv6.
|
2734
2880
|
#
|
@@ -2741,7 +2887,8 @@ module CZMQ
|
|
2741
2887
|
result
|
2742
2888
|
end
|
2743
2889
|
|
2744
|
-
# Set socket option `ipv6`.
|
2890
|
+
# Set socket option `ipv6`.
|
2891
|
+
# Available from libzmq 4.0.0.
|
2745
2892
|
#
|
2746
2893
|
# @param ipv6 [Integer, #to_int, #to_i]
|
2747
2894
|
# @return [void]
|
@@ -2753,7 +2900,8 @@ module CZMQ
|
|
2753
2900
|
result
|
2754
2901
|
end
|
2755
2902
|
|
2756
|
-
# Set socket option `ipv6`.
|
2903
|
+
# Set socket option `ipv6`.
|
2904
|
+
# Available from libzmq 4.0.0.
|
2757
2905
|
#
|
2758
2906
|
# This is the polymorphic version of #set_ipv6.
|
2759
2907
|
#
|
@@ -2769,6 +2917,7 @@ module CZMQ
|
|
2769
2917
|
end
|
2770
2918
|
|
2771
2919
|
# Get socket option `immediate`.
|
2920
|
+
# Available from libzmq 4.0.0.
|
2772
2921
|
#
|
2773
2922
|
# @return [Integer]
|
2774
2923
|
def immediate()
|
@@ -2779,6 +2928,7 @@ module CZMQ
|
|
2779
2928
|
end
|
2780
2929
|
|
2781
2930
|
# Get socket option `immediate`.
|
2931
|
+
# Available from libzmq 4.0.0.
|
2782
2932
|
#
|
2783
2933
|
# This is the polymorphic version of #immediate.
|
2784
2934
|
#
|
@@ -2792,6 +2942,7 @@ module CZMQ
|
|
2792
2942
|
end
|
2793
2943
|
|
2794
2944
|
# Set socket option `immediate`.
|
2945
|
+
# Available from libzmq 4.0.0.
|
2795
2946
|
#
|
2796
2947
|
# @param immediate [Integer, #to_int, #to_i]
|
2797
2948
|
# @return [void]
|
@@ -2804,6 +2955,7 @@ module CZMQ
|
|
2804
2955
|
end
|
2805
2956
|
|
2806
2957
|
# Set socket option `immediate`.
|
2958
|
+
# Available from libzmq 4.0.0.
|
2807
2959
|
#
|
2808
2960
|
# This is the polymorphic version of #set_immediate.
|
2809
2961
|
#
|
@@ -2818,111 +2970,8 @@ module CZMQ
|
|
2818
2970
|
result
|
2819
2971
|
end
|
2820
2972
|
|
2821
|
-
#
|
2822
|
-
#
|
2823
|
-
# @param router_raw [Integer, #to_int, #to_i]
|
2824
|
-
# @return [void]
|
2825
|
-
def set_router_raw(router_raw)
|
2826
|
-
raise DestroyedError unless @ptr
|
2827
|
-
self_p = @ptr
|
2828
|
-
router_raw = Integer(router_raw)
|
2829
|
-
result = ::CZMQ::FFI.zsock_set_router_raw(self_p, router_raw)
|
2830
|
-
result
|
2831
|
-
end
|
2832
|
-
|
2833
|
-
# Set socket option `router_raw`.
|
2834
|
-
#
|
2835
|
-
# This is the polymorphic version of #set_router_raw.
|
2836
|
-
#
|
2837
|
-
# @param self_p [CZMQ::Zsock, #__ptr, ::FFI::Pointer, nil]
|
2838
|
-
# object reference to use this method on
|
2839
|
-
# @param router_raw [Integer, #to_int, #to_i]
|
2840
|
-
# @return [void]
|
2841
|
-
def self.set_router_raw(self_p, router_raw)
|
2842
|
-
self_p = self_p.__ptr if self_p.respond_to?(:__ptr)
|
2843
|
-
router_raw = Integer(router_raw)
|
2844
|
-
result = ::CZMQ::FFI.zsock_set_router_raw(self_p, router_raw)
|
2845
|
-
result
|
2846
|
-
end
|
2847
|
-
|
2848
|
-
# Get socket option `ipv4only`.
|
2849
|
-
#
|
2850
|
-
# @return [Integer]
|
2851
|
-
def ipv4only()
|
2852
|
-
raise DestroyedError unless @ptr
|
2853
|
-
self_p = @ptr
|
2854
|
-
result = ::CZMQ::FFI.zsock_ipv4only(self_p)
|
2855
|
-
result
|
2856
|
-
end
|
2857
|
-
|
2858
|
-
# Get socket option `ipv4only`.
|
2859
|
-
#
|
2860
|
-
# This is the polymorphic version of #ipv4only.
|
2861
|
-
#
|
2862
|
-
# @param self_p [CZMQ::Zsock, #__ptr, ::FFI::Pointer, nil]
|
2863
|
-
# object reference to use this method on
|
2864
|
-
# @return [Integer]
|
2865
|
-
def self.ipv4only(self_p)
|
2866
|
-
self_p = self_p.__ptr if self_p.respond_to?(:__ptr)
|
2867
|
-
result = ::CZMQ::FFI.zsock_ipv4only(self_p)
|
2868
|
-
result
|
2869
|
-
end
|
2870
|
-
|
2871
|
-
# Set socket option `ipv4only`.
|
2872
|
-
#
|
2873
|
-
# @param ipv4only [Integer, #to_int, #to_i]
|
2874
|
-
# @return [void]
|
2875
|
-
def set_ipv4only(ipv4only)
|
2876
|
-
raise DestroyedError unless @ptr
|
2877
|
-
self_p = @ptr
|
2878
|
-
ipv4only = Integer(ipv4only)
|
2879
|
-
result = ::CZMQ::FFI.zsock_set_ipv4only(self_p, ipv4only)
|
2880
|
-
result
|
2881
|
-
end
|
2882
|
-
|
2883
|
-
# Set socket option `ipv4only`.
|
2884
|
-
#
|
2885
|
-
# This is the polymorphic version of #set_ipv4only.
|
2886
|
-
#
|
2887
|
-
# @param self_p [CZMQ::Zsock, #__ptr, ::FFI::Pointer, nil]
|
2888
|
-
# object reference to use this method on
|
2889
|
-
# @param ipv4only [Integer, #to_int, #to_i]
|
2890
|
-
# @return [void]
|
2891
|
-
def self.set_ipv4only(self_p, ipv4only)
|
2892
|
-
self_p = self_p.__ptr if self_p.respond_to?(:__ptr)
|
2893
|
-
ipv4only = Integer(ipv4only)
|
2894
|
-
result = ::CZMQ::FFI.zsock_set_ipv4only(self_p, ipv4only)
|
2895
|
-
result
|
2896
|
-
end
|
2897
|
-
|
2898
|
-
# Set socket option `delay_attach_on_connect`.
|
2899
|
-
#
|
2900
|
-
# @param delay_attach_on_connect [Integer, #to_int, #to_i]
|
2901
|
-
# @return [void]
|
2902
|
-
def set_delay_attach_on_connect(delay_attach_on_connect)
|
2903
|
-
raise DestroyedError unless @ptr
|
2904
|
-
self_p = @ptr
|
2905
|
-
delay_attach_on_connect = Integer(delay_attach_on_connect)
|
2906
|
-
result = ::CZMQ::FFI.zsock_set_delay_attach_on_connect(self_p, delay_attach_on_connect)
|
2907
|
-
result
|
2908
|
-
end
|
2909
|
-
|
2910
|
-
# Set socket option `delay_attach_on_connect`.
|
2911
|
-
#
|
2912
|
-
# This is the polymorphic version of #set_delay_attach_on_connect.
|
2913
|
-
#
|
2914
|
-
# @param self_p [CZMQ::Zsock, #__ptr, ::FFI::Pointer, nil]
|
2915
|
-
# object reference to use this method on
|
2916
|
-
# @param delay_attach_on_connect [Integer, #to_int, #to_i]
|
2917
|
-
# @return [void]
|
2918
|
-
def self.set_delay_attach_on_connect(self_p, delay_attach_on_connect)
|
2919
|
-
self_p = self_p.__ptr if self_p.respond_to?(:__ptr)
|
2920
|
-
delay_attach_on_connect = Integer(delay_attach_on_connect)
|
2921
|
-
result = ::CZMQ::FFI.zsock_set_delay_attach_on_connect(self_p, delay_attach_on_connect)
|
2922
|
-
result
|
2923
|
-
end
|
2924
|
-
|
2925
|
-
# Get socket option `type`.
|
2973
|
+
# Get socket option `type`.
|
2974
|
+
# Available from libzmq 3.0.0.
|
2926
2975
|
#
|
2927
2976
|
# @return [Integer]
|
2928
2977
|
def type()
|
@@ -2932,7 +2981,8 @@ module CZMQ
|
|
2932
2981
|
result
|
2933
2982
|
end
|
2934
2983
|
|
2935
|
-
# Get socket option `type`.
|
2984
|
+
# Get socket option `type`.
|
2985
|
+
# Available from libzmq 3.0.0.
|
2936
2986
|
#
|
2937
2987
|
# This is the polymorphic version of #type.
|
2938
2988
|
#
|
@@ -2945,7 +2995,8 @@ module CZMQ
|
|
2945
2995
|
result
|
2946
2996
|
end
|
2947
2997
|
|
2948
|
-
# Get socket option `sndhwm`.
|
2998
|
+
# Get socket option `sndhwm`.
|
2999
|
+
# Available from libzmq 3.0.0.
|
2949
3000
|
#
|
2950
3001
|
# @return [Integer]
|
2951
3002
|
def sndhwm()
|
@@ -2955,7 +3006,8 @@ module CZMQ
|
|
2955
3006
|
result
|
2956
3007
|
end
|
2957
3008
|
|
2958
|
-
# Get socket option `sndhwm`.
|
3009
|
+
# Get socket option `sndhwm`.
|
3010
|
+
# Available from libzmq 3.0.0.
|
2959
3011
|
#
|
2960
3012
|
# This is the polymorphic version of #sndhwm.
|
2961
3013
|
#
|
@@ -2968,7 +3020,8 @@ module CZMQ
|
|
2968
3020
|
result
|
2969
3021
|
end
|
2970
3022
|
|
2971
|
-
# Set socket option `sndhwm`.
|
3023
|
+
# Set socket option `sndhwm`.
|
3024
|
+
# Available from libzmq 3.0.0.
|
2972
3025
|
#
|
2973
3026
|
# @param sndhwm [Integer, #to_int, #to_i]
|
2974
3027
|
# @return [void]
|
@@ -2980,7 +3033,8 @@ module CZMQ
|
|
2980
3033
|
result
|
2981
3034
|
end
|
2982
3035
|
|
2983
|
-
# Set socket option `sndhwm`.
|
3036
|
+
# Set socket option `sndhwm`.
|
3037
|
+
# Available from libzmq 3.0.0.
|
2984
3038
|
#
|
2985
3039
|
# This is the polymorphic version of #set_sndhwm.
|
2986
3040
|
#
|
@@ -2995,7 +3049,8 @@ module CZMQ
|
|
2995
3049
|
result
|
2996
3050
|
end
|
2997
3051
|
|
2998
|
-
# Get socket option `rcvhwm`.
|
3052
|
+
# Get socket option `rcvhwm`.
|
3053
|
+
# Available from libzmq 3.0.0.
|
2999
3054
|
#
|
3000
3055
|
# @return [Integer]
|
3001
3056
|
def rcvhwm()
|
@@ -3005,7 +3060,8 @@ module CZMQ
|
|
3005
3060
|
result
|
3006
3061
|
end
|
3007
3062
|
|
3008
|
-
# Get socket option `rcvhwm`.
|
3063
|
+
# Get socket option `rcvhwm`.
|
3064
|
+
# Available from libzmq 3.0.0.
|
3009
3065
|
#
|
3010
3066
|
# This is the polymorphic version of #rcvhwm.
|
3011
3067
|
#
|
@@ -3018,7 +3074,8 @@ module CZMQ
|
|
3018
3074
|
result
|
3019
3075
|
end
|
3020
3076
|
|
3021
|
-
# Set socket option `rcvhwm`.
|
3077
|
+
# Set socket option `rcvhwm`.
|
3078
|
+
# Available from libzmq 3.0.0.
|
3022
3079
|
#
|
3023
3080
|
# @param rcvhwm [Integer, #to_int, #to_i]
|
3024
3081
|
# @return [void]
|
@@ -3030,7 +3087,8 @@ module CZMQ
|
|
3030
3087
|
result
|
3031
3088
|
end
|
3032
3089
|
|
3033
|
-
# Set socket option `rcvhwm`.
|
3090
|
+
# Set socket option `rcvhwm`.
|
3091
|
+
# Available from libzmq 3.0.0.
|
3034
3092
|
#
|
3035
3093
|
# This is the polymorphic version of #set_rcvhwm.
|
3036
3094
|
#
|
@@ -3046,6 +3104,7 @@ module CZMQ
|
|
3046
3104
|
end
|
3047
3105
|
|
3048
3106
|
# Get socket option `affinity`.
|
3107
|
+
# Available from libzmq 3.0.0.
|
3049
3108
|
#
|
3050
3109
|
# @return [Integer]
|
3051
3110
|
def affinity()
|
@@ -3056,6 +3115,7 @@ module CZMQ
|
|
3056
3115
|
end
|
3057
3116
|
|
3058
3117
|
# Get socket option `affinity`.
|
3118
|
+
# Available from libzmq 3.0.0.
|
3059
3119
|
#
|
3060
3120
|
# This is the polymorphic version of #affinity.
|
3061
3121
|
#
|
@@ -3069,6 +3129,7 @@ module CZMQ
|
|
3069
3129
|
end
|
3070
3130
|
|
3071
3131
|
# Set socket option `affinity`.
|
3132
|
+
# Available from libzmq 3.0.0.
|
3072
3133
|
#
|
3073
3134
|
# @param affinity [Integer, #to_int, #to_i]
|
3074
3135
|
# @return [void]
|
@@ -3081,6 +3142,7 @@ module CZMQ
|
|
3081
3142
|
end
|
3082
3143
|
|
3083
3144
|
# Set socket option `affinity`.
|
3145
|
+
# Available from libzmq 3.0.0.
|
3084
3146
|
#
|
3085
3147
|
# This is the polymorphic version of #set_affinity.
|
3086
3148
|
#
|
@@ -3096,6 +3158,7 @@ module CZMQ
|
|
3096
3158
|
end
|
3097
3159
|
|
3098
3160
|
# Set socket option `subscribe`.
|
3161
|
+
# Available from libzmq 3.0.0.
|
3099
3162
|
#
|
3100
3163
|
# @param subscribe [String, #to_s, nil]
|
3101
3164
|
# @return [void]
|
@@ -3107,6 +3170,7 @@ module CZMQ
|
|
3107
3170
|
end
|
3108
3171
|
|
3109
3172
|
# Set socket option `subscribe`.
|
3173
|
+
# Available from libzmq 3.0.0.
|
3110
3174
|
#
|
3111
3175
|
# This is the polymorphic version of #set_subscribe.
|
3112
3176
|
#
|
@@ -3121,6 +3185,7 @@ module CZMQ
|
|
3121
3185
|
end
|
3122
3186
|
|
3123
3187
|
# Set socket option `unsubscribe`.
|
3188
|
+
# Available from libzmq 3.0.0.
|
3124
3189
|
#
|
3125
3190
|
# @param unsubscribe [String, #to_s, nil]
|
3126
3191
|
# @return [void]
|
@@ -3132,6 +3197,7 @@ module CZMQ
|
|
3132
3197
|
end
|
3133
3198
|
|
3134
3199
|
# Set socket option `unsubscribe`.
|
3200
|
+
# Available from libzmq 3.0.0.
|
3135
3201
|
#
|
3136
3202
|
# This is the polymorphic version of #set_unsubscribe.
|
3137
3203
|
#
|
@@ -3146,6 +3212,7 @@ module CZMQ
|
|
3146
3212
|
end
|
3147
3213
|
|
3148
3214
|
# Get socket option `identity`.
|
3215
|
+
# Available from libzmq 3.0.0.
|
3149
3216
|
#
|
3150
3217
|
# @return [::FFI::AutoPointer]
|
3151
3218
|
def identity()
|
@@ -3157,6 +3224,7 @@ module CZMQ
|
|
3157
3224
|
end
|
3158
3225
|
|
3159
3226
|
# Get socket option `identity`.
|
3227
|
+
# Available from libzmq 3.0.0.
|
3160
3228
|
#
|
3161
3229
|
# This is the polymorphic version of #identity.
|
3162
3230
|
#
|
@@ -3171,6 +3239,7 @@ module CZMQ
|
|
3171
3239
|
end
|
3172
3240
|
|
3173
3241
|
# Set socket option `identity`.
|
3242
|
+
# Available from libzmq 3.0.0.
|
3174
3243
|
#
|
3175
3244
|
# @param identity [String, #to_s, nil]
|
3176
3245
|
# @return [void]
|
@@ -3182,6 +3251,7 @@ module CZMQ
|
|
3182
3251
|
end
|
3183
3252
|
|
3184
3253
|
# Set socket option `identity`.
|
3254
|
+
# Available from libzmq 3.0.0.
|
3185
3255
|
#
|
3186
3256
|
# This is the polymorphic version of #set_identity.
|
3187
3257
|
#
|
@@ -3195,7 +3265,8 @@ module CZMQ
|
|
3195
3265
|
result
|
3196
3266
|
end
|
3197
3267
|
|
3198
|
-
# Get socket option `rate`.
|
3268
|
+
# Get socket option `rate`.
|
3269
|
+
# Available from libzmq 3.0.0.
|
3199
3270
|
#
|
3200
3271
|
# @return [Integer]
|
3201
3272
|
def rate()
|
@@ -3205,7 +3276,8 @@ module CZMQ
|
|
3205
3276
|
result
|
3206
3277
|
end
|
3207
3278
|
|
3208
|
-
# Get socket option `rate`.
|
3279
|
+
# Get socket option `rate`.
|
3280
|
+
# Available from libzmq 3.0.0.
|
3209
3281
|
#
|
3210
3282
|
# This is the polymorphic version of #rate.
|
3211
3283
|
#
|
@@ -3218,7 +3290,8 @@ module CZMQ
|
|
3218
3290
|
result
|
3219
3291
|
end
|
3220
3292
|
|
3221
|
-
# Set socket option `rate`.
|
3293
|
+
# Set socket option `rate`.
|
3294
|
+
# Available from libzmq 3.0.0.
|
3222
3295
|
#
|
3223
3296
|
# @param rate [Integer, #to_int, #to_i]
|
3224
3297
|
# @return [void]
|
@@ -3230,7 +3303,8 @@ module CZMQ
|
|
3230
3303
|
result
|
3231
3304
|
end
|
3232
3305
|
|
3233
|
-
# Set socket option `rate`.
|
3306
|
+
# Set socket option `rate`.
|
3307
|
+
# Available from libzmq 3.0.0.
|
3234
3308
|
#
|
3235
3309
|
# This is the polymorphic version of #set_rate.
|
3236
3310
|
#
|
@@ -3246,6 +3320,7 @@ module CZMQ
|
|
3246
3320
|
end
|
3247
3321
|
|
3248
3322
|
# Get socket option `recovery_ivl`.
|
3323
|
+
# Available from libzmq 3.0.0.
|
3249
3324
|
#
|
3250
3325
|
# @return [Integer]
|
3251
3326
|
def recovery_ivl()
|
@@ -3256,6 +3331,7 @@ module CZMQ
|
|
3256
3331
|
end
|
3257
3332
|
|
3258
3333
|
# Get socket option `recovery_ivl`.
|
3334
|
+
# Available from libzmq 3.0.0.
|
3259
3335
|
#
|
3260
3336
|
# This is the polymorphic version of #recovery_ivl.
|
3261
3337
|
#
|
@@ -3269,6 +3345,7 @@ module CZMQ
|
|
3269
3345
|
end
|
3270
3346
|
|
3271
3347
|
# Set socket option `recovery_ivl`.
|
3348
|
+
# Available from libzmq 3.0.0.
|
3272
3349
|
#
|
3273
3350
|
# @param recovery_ivl [Integer, #to_int, #to_i]
|
3274
3351
|
# @return [void]
|
@@ -3281,6 +3358,7 @@ module CZMQ
|
|
3281
3358
|
end
|
3282
3359
|
|
3283
3360
|
# Set socket option `recovery_ivl`.
|
3361
|
+
# Available from libzmq 3.0.0.
|
3284
3362
|
#
|
3285
3363
|
# This is the polymorphic version of #set_recovery_ivl.
|
3286
3364
|
#
|
@@ -3295,7 +3373,8 @@ module CZMQ
|
|
3295
3373
|
result
|
3296
3374
|
end
|
3297
3375
|
|
3298
|
-
# Get socket option `sndbuf`.
|
3376
|
+
# Get socket option `sndbuf`.
|
3377
|
+
# Available from libzmq 3.0.0.
|
3299
3378
|
#
|
3300
3379
|
# @return [Integer]
|
3301
3380
|
def sndbuf()
|
@@ -3305,7 +3384,8 @@ module CZMQ
|
|
3305
3384
|
result
|
3306
3385
|
end
|
3307
3386
|
|
3308
|
-
# Get socket option `sndbuf`.
|
3387
|
+
# Get socket option `sndbuf`.
|
3388
|
+
# Available from libzmq 3.0.0.
|
3309
3389
|
#
|
3310
3390
|
# This is the polymorphic version of #sndbuf.
|
3311
3391
|
#
|
@@ -3318,7 +3398,8 @@ module CZMQ
|
|
3318
3398
|
result
|
3319
3399
|
end
|
3320
3400
|
|
3321
|
-
# Set socket option `sndbuf`.
|
3401
|
+
# Set socket option `sndbuf`.
|
3402
|
+
# Available from libzmq 3.0.0.
|
3322
3403
|
#
|
3323
3404
|
# @param sndbuf [Integer, #to_int, #to_i]
|
3324
3405
|
# @return [void]
|
@@ -3330,7 +3411,8 @@ module CZMQ
|
|
3330
3411
|
result
|
3331
3412
|
end
|
3332
3413
|
|
3333
|
-
# Set socket option `sndbuf`.
|
3414
|
+
# Set socket option `sndbuf`.
|
3415
|
+
# Available from libzmq 3.0.0.
|
3334
3416
|
#
|
3335
3417
|
# This is the polymorphic version of #set_sndbuf.
|
3336
3418
|
#
|
@@ -3345,7 +3427,8 @@ module CZMQ
|
|
3345
3427
|
result
|
3346
3428
|
end
|
3347
3429
|
|
3348
|
-
# Get socket option `rcvbuf`.
|
3430
|
+
# Get socket option `rcvbuf`.
|
3431
|
+
# Available from libzmq 3.0.0.
|
3349
3432
|
#
|
3350
3433
|
# @return [Integer]
|
3351
3434
|
def rcvbuf()
|
@@ -3355,7 +3438,8 @@ module CZMQ
|
|
3355
3438
|
result
|
3356
3439
|
end
|
3357
3440
|
|
3358
|
-
# Get socket option `rcvbuf`.
|
3441
|
+
# Get socket option `rcvbuf`.
|
3442
|
+
# Available from libzmq 3.0.0.
|
3359
3443
|
#
|
3360
3444
|
# This is the polymorphic version of #rcvbuf.
|
3361
3445
|
#
|
@@ -3368,7 +3452,8 @@ module CZMQ
|
|
3368
3452
|
result
|
3369
3453
|
end
|
3370
3454
|
|
3371
|
-
# Set socket option `rcvbuf`.
|
3455
|
+
# Set socket option `rcvbuf`.
|
3456
|
+
# Available from libzmq 3.0.0.
|
3372
3457
|
#
|
3373
3458
|
# @param rcvbuf [Integer, #to_int, #to_i]
|
3374
3459
|
# @return [void]
|
@@ -3380,7 +3465,8 @@ module CZMQ
|
|
3380
3465
|
result
|
3381
3466
|
end
|
3382
3467
|
|
3383
|
-
# Set socket option `rcvbuf`.
|
3468
|
+
# Set socket option `rcvbuf`.
|
3469
|
+
# Available from libzmq 3.0.0.
|
3384
3470
|
#
|
3385
3471
|
# This is the polymorphic version of #set_rcvbuf.
|
3386
3472
|
#
|
@@ -3395,7 +3481,8 @@ module CZMQ
|
|
3395
3481
|
result
|
3396
3482
|
end
|
3397
3483
|
|
3398
|
-
# Get socket option `linger`.
|
3484
|
+
# Get socket option `linger`.
|
3485
|
+
# Available from libzmq 3.0.0.
|
3399
3486
|
#
|
3400
3487
|
# @return [Integer]
|
3401
3488
|
def linger()
|
@@ -3405,7 +3492,8 @@ module CZMQ
|
|
3405
3492
|
result
|
3406
3493
|
end
|
3407
3494
|
|
3408
|
-
# Get socket option `linger`.
|
3495
|
+
# Get socket option `linger`.
|
3496
|
+
# Available from libzmq 3.0.0.
|
3409
3497
|
#
|
3410
3498
|
# This is the polymorphic version of #linger.
|
3411
3499
|
#
|
@@ -3418,7 +3506,8 @@ module CZMQ
|
|
3418
3506
|
result
|
3419
3507
|
end
|
3420
3508
|
|
3421
|
-
# Set socket option `linger`.
|
3509
|
+
# Set socket option `linger`.
|
3510
|
+
# Available from libzmq 3.0.0.
|
3422
3511
|
#
|
3423
3512
|
# @param linger [Integer, #to_int, #to_i]
|
3424
3513
|
# @return [void]
|
@@ -3430,7 +3519,8 @@ module CZMQ
|
|
3430
3519
|
result
|
3431
3520
|
end
|
3432
3521
|
|
3433
|
-
# Set socket option `linger`.
|
3522
|
+
# Set socket option `linger`.
|
3523
|
+
# Available from libzmq 3.0.0.
|
3434
3524
|
#
|
3435
3525
|
# This is the polymorphic version of #set_linger.
|
3436
3526
|
#
|
@@ -3446,6 +3536,7 @@ module CZMQ
|
|
3446
3536
|
end
|
3447
3537
|
|
3448
3538
|
# Get socket option `reconnect_ivl`.
|
3539
|
+
# Available from libzmq 3.0.0.
|
3449
3540
|
#
|
3450
3541
|
# @return [Integer]
|
3451
3542
|
def reconnect_ivl()
|
@@ -3456,6 +3547,7 @@ module CZMQ
|
|
3456
3547
|
end
|
3457
3548
|
|
3458
3549
|
# Get socket option `reconnect_ivl`.
|
3550
|
+
# Available from libzmq 3.0.0.
|
3459
3551
|
#
|
3460
3552
|
# This is the polymorphic version of #reconnect_ivl.
|
3461
3553
|
#
|
@@ -3469,6 +3561,7 @@ module CZMQ
|
|
3469
3561
|
end
|
3470
3562
|
|
3471
3563
|
# Set socket option `reconnect_ivl`.
|
3564
|
+
# Available from libzmq 3.0.0.
|
3472
3565
|
#
|
3473
3566
|
# @param reconnect_ivl [Integer, #to_int, #to_i]
|
3474
3567
|
# @return [void]
|
@@ -3481,6 +3574,7 @@ module CZMQ
|
|
3481
3574
|
end
|
3482
3575
|
|
3483
3576
|
# Set socket option `reconnect_ivl`.
|
3577
|
+
# Available from libzmq 3.0.0.
|
3484
3578
|
#
|
3485
3579
|
# This is the polymorphic version of #set_reconnect_ivl.
|
3486
3580
|
#
|
@@ -3496,6 +3590,7 @@ module CZMQ
|
|
3496
3590
|
end
|
3497
3591
|
|
3498
3592
|
# Get socket option `reconnect_ivl_max`.
|
3593
|
+
# Available from libzmq 3.0.0.
|
3499
3594
|
#
|
3500
3595
|
# @return [Integer]
|
3501
3596
|
def reconnect_ivl_max()
|
@@ -3506,6 +3601,7 @@ module CZMQ
|
|
3506
3601
|
end
|
3507
3602
|
|
3508
3603
|
# Get socket option `reconnect_ivl_max`.
|
3604
|
+
# Available from libzmq 3.0.0.
|
3509
3605
|
#
|
3510
3606
|
# This is the polymorphic version of #reconnect_ivl_max.
|
3511
3607
|
#
|
@@ -3519,6 +3615,7 @@ module CZMQ
|
|
3519
3615
|
end
|
3520
3616
|
|
3521
3617
|
# Set socket option `reconnect_ivl_max`.
|
3618
|
+
# Available from libzmq 3.0.0.
|
3522
3619
|
#
|
3523
3620
|
# @param reconnect_ivl_max [Integer, #to_int, #to_i]
|
3524
3621
|
# @return [void]
|
@@ -3531,6 +3628,7 @@ module CZMQ
|
|
3531
3628
|
end
|
3532
3629
|
|
3533
3630
|
# Set socket option `reconnect_ivl_max`.
|
3631
|
+
# Available from libzmq 3.0.0.
|
3534
3632
|
#
|
3535
3633
|
# This is the polymorphic version of #set_reconnect_ivl_max.
|
3536
3634
|
#
|
@@ -3546,6 +3644,7 @@ module CZMQ
|
|
3546
3644
|
end
|
3547
3645
|
|
3548
3646
|
# Get socket option `backlog`.
|
3647
|
+
# Available from libzmq 3.0.0.
|
3549
3648
|
#
|
3550
3649
|
# @return [Integer]
|
3551
3650
|
def backlog()
|
@@ -3556,6 +3655,7 @@ module CZMQ
|
|
3556
3655
|
end
|
3557
3656
|
|
3558
3657
|
# Get socket option `backlog`.
|
3658
|
+
# Available from libzmq 3.0.0.
|
3559
3659
|
#
|
3560
3660
|
# This is the polymorphic version of #backlog.
|
3561
3661
|
#
|
@@ -3569,6 +3669,7 @@ module CZMQ
|
|
3569
3669
|
end
|
3570
3670
|
|
3571
3671
|
# Set socket option `backlog`.
|
3672
|
+
# Available from libzmq 3.0.0.
|
3572
3673
|
#
|
3573
3674
|
# @param backlog [Integer, #to_int, #to_i]
|
3574
3675
|
# @return [void]
|
@@ -3581,6 +3682,7 @@ module CZMQ
|
|
3581
3682
|
end
|
3582
3683
|
|
3583
3684
|
# Set socket option `backlog`.
|
3685
|
+
# Available from libzmq 3.0.0.
|
3584
3686
|
#
|
3585
3687
|
# This is the polymorphic version of #set_backlog.
|
3586
3688
|
#
|
@@ -3596,6 +3698,7 @@ module CZMQ
|
|
3596
3698
|
end
|
3597
3699
|
|
3598
3700
|
# Get socket option `maxmsgsize`.
|
3701
|
+
# Available from libzmq 3.0.0.
|
3599
3702
|
#
|
3600
3703
|
# @return [Integer]
|
3601
3704
|
def maxmsgsize()
|
@@ -3606,6 +3709,7 @@ module CZMQ
|
|
3606
3709
|
end
|
3607
3710
|
|
3608
3711
|
# Get socket option `maxmsgsize`.
|
3712
|
+
# Available from libzmq 3.0.0.
|
3609
3713
|
#
|
3610
3714
|
# This is the polymorphic version of #maxmsgsize.
|
3611
3715
|
#
|
@@ -3619,6 +3723,7 @@ module CZMQ
|
|
3619
3723
|
end
|
3620
3724
|
|
3621
3725
|
# Set socket option `maxmsgsize`.
|
3726
|
+
# Available from libzmq 3.0.0.
|
3622
3727
|
#
|
3623
3728
|
# @param maxmsgsize [Integer, #to_int, #to_i]
|
3624
3729
|
# @return [void]
|
@@ -3631,6 +3736,7 @@ module CZMQ
|
|
3631
3736
|
end
|
3632
3737
|
|
3633
3738
|
# Set socket option `maxmsgsize`.
|
3739
|
+
# Available from libzmq 3.0.0.
|
3634
3740
|
#
|
3635
3741
|
# This is the polymorphic version of #set_maxmsgsize.
|
3636
3742
|
#
|
@@ -3646,6 +3752,7 @@ module CZMQ
|
|
3646
3752
|
end
|
3647
3753
|
|
3648
3754
|
# Get socket option `multicast_hops`.
|
3755
|
+
# Available from libzmq 3.0.0.
|
3649
3756
|
#
|
3650
3757
|
# @return [Integer]
|
3651
3758
|
def multicast_hops()
|
@@ -3656,6 +3763,7 @@ module CZMQ
|
|
3656
3763
|
end
|
3657
3764
|
|
3658
3765
|
# Get socket option `multicast_hops`.
|
3766
|
+
# Available from libzmq 3.0.0.
|
3659
3767
|
#
|
3660
3768
|
# This is the polymorphic version of #multicast_hops.
|
3661
3769
|
#
|
@@ -3669,6 +3777,7 @@ module CZMQ
|
|
3669
3777
|
end
|
3670
3778
|
|
3671
3779
|
# Set socket option `multicast_hops`.
|
3780
|
+
# Available from libzmq 3.0.0.
|
3672
3781
|
#
|
3673
3782
|
# @param multicast_hops [Integer, #to_int, #to_i]
|
3674
3783
|
# @return [void]
|
@@ -3681,6 +3790,7 @@ module CZMQ
|
|
3681
3790
|
end
|
3682
3791
|
|
3683
3792
|
# Set socket option `multicast_hops`.
|
3793
|
+
# Available from libzmq 3.0.0.
|
3684
3794
|
#
|
3685
3795
|
# This is the polymorphic version of #set_multicast_hops.
|
3686
3796
|
#
|
@@ -3696,6 +3806,7 @@ module CZMQ
|
|
3696
3806
|
end
|
3697
3807
|
|
3698
3808
|
# Get socket option `rcvtimeo`.
|
3809
|
+
# Available from libzmq 3.0.0.
|
3699
3810
|
#
|
3700
3811
|
# @return [Integer]
|
3701
3812
|
def rcvtimeo()
|
@@ -3706,6 +3817,7 @@ module CZMQ
|
|
3706
3817
|
end
|
3707
3818
|
|
3708
3819
|
# Get socket option `rcvtimeo`.
|
3820
|
+
# Available from libzmq 3.0.0.
|
3709
3821
|
#
|
3710
3822
|
# This is the polymorphic version of #rcvtimeo.
|
3711
3823
|
#
|
@@ -3719,6 +3831,7 @@ module CZMQ
|
|
3719
3831
|
end
|
3720
3832
|
|
3721
3833
|
# Set socket option `rcvtimeo`.
|
3834
|
+
# Available from libzmq 3.0.0.
|
3722
3835
|
#
|
3723
3836
|
# @param rcvtimeo [Integer, #to_int, #to_i]
|
3724
3837
|
# @return [void]
|
@@ -3731,6 +3844,7 @@ module CZMQ
|
|
3731
3844
|
end
|
3732
3845
|
|
3733
3846
|
# Set socket option `rcvtimeo`.
|
3847
|
+
# Available from libzmq 3.0.0.
|
3734
3848
|
#
|
3735
3849
|
# This is the polymorphic version of #set_rcvtimeo.
|
3736
3850
|
#
|
@@ -3746,6 +3860,7 @@ module CZMQ
|
|
3746
3860
|
end
|
3747
3861
|
|
3748
3862
|
# Get socket option `sndtimeo`.
|
3863
|
+
# Available from libzmq 3.0.0.
|
3749
3864
|
#
|
3750
3865
|
# @return [Integer]
|
3751
3866
|
def sndtimeo()
|
@@ -3756,6 +3871,7 @@ module CZMQ
|
|
3756
3871
|
end
|
3757
3872
|
|
3758
3873
|
# Get socket option `sndtimeo`.
|
3874
|
+
# Available from libzmq 3.0.0.
|
3759
3875
|
#
|
3760
3876
|
# This is the polymorphic version of #sndtimeo.
|
3761
3877
|
#
|
@@ -3769,6 +3885,7 @@ module CZMQ
|
|
3769
3885
|
end
|
3770
3886
|
|
3771
3887
|
# Set socket option `sndtimeo`.
|
3888
|
+
# Available from libzmq 3.0.0.
|
3772
3889
|
#
|
3773
3890
|
# @param sndtimeo [Integer, #to_int, #to_i]
|
3774
3891
|
# @return [void]
|
@@ -3781,6 +3898,7 @@ module CZMQ
|
|
3781
3898
|
end
|
3782
3899
|
|
3783
3900
|
# Set socket option `sndtimeo`.
|
3901
|
+
# Available from libzmq 3.0.0.
|
3784
3902
|
#
|
3785
3903
|
# This is the polymorphic version of #set_sndtimeo.
|
3786
3904
|
#
|
@@ -3796,6 +3914,7 @@ module CZMQ
|
|
3796
3914
|
end
|
3797
3915
|
|
3798
3916
|
# Set socket option `xpub_verbose`.
|
3917
|
+
# Available from libzmq 3.0.0.
|
3799
3918
|
#
|
3800
3919
|
# @param xpub_verbose [Integer, #to_int, #to_i]
|
3801
3920
|
# @return [void]
|
@@ -3808,6 +3927,7 @@ module CZMQ
|
|
3808
3927
|
end
|
3809
3928
|
|
3810
3929
|
# Set socket option `xpub_verbose`.
|
3930
|
+
# Available from libzmq 3.0.0.
|
3811
3931
|
#
|
3812
3932
|
# This is the polymorphic version of #set_xpub_verbose.
|
3813
3933
|
#
|
@@ -3823,6 +3943,7 @@ module CZMQ
|
|
3823
3943
|
end
|
3824
3944
|
|
3825
3945
|
# Get socket option `tcp_keepalive`.
|
3946
|
+
# Available from libzmq 3.0.0.
|
3826
3947
|
#
|
3827
3948
|
# @return [Integer]
|
3828
3949
|
def tcp_keepalive()
|
@@ -3833,6 +3954,7 @@ module CZMQ
|
|
3833
3954
|
end
|
3834
3955
|
|
3835
3956
|
# Get socket option `tcp_keepalive`.
|
3957
|
+
# Available from libzmq 3.0.0.
|
3836
3958
|
#
|
3837
3959
|
# This is the polymorphic version of #tcp_keepalive.
|
3838
3960
|
#
|
@@ -3846,6 +3968,7 @@ module CZMQ
|
|
3846
3968
|
end
|
3847
3969
|
|
3848
3970
|
# Set socket option `tcp_keepalive`.
|
3971
|
+
# Available from libzmq 3.0.0.
|
3849
3972
|
#
|
3850
3973
|
# @param tcp_keepalive [Integer, #to_int, #to_i]
|
3851
3974
|
# @return [void]
|
@@ -3858,6 +3981,7 @@ module CZMQ
|
|
3858
3981
|
end
|
3859
3982
|
|
3860
3983
|
# Set socket option `tcp_keepalive`.
|
3984
|
+
# Available from libzmq 3.0.0.
|
3861
3985
|
#
|
3862
3986
|
# This is the polymorphic version of #set_tcp_keepalive.
|
3863
3987
|
#
|
@@ -3873,6 +3997,7 @@ module CZMQ
|
|
3873
3997
|
end
|
3874
3998
|
|
3875
3999
|
# Get socket option `tcp_keepalive_idle`.
|
4000
|
+
# Available from libzmq 3.0.0.
|
3876
4001
|
#
|
3877
4002
|
# @return [Integer]
|
3878
4003
|
def tcp_keepalive_idle()
|
@@ -3883,6 +4008,7 @@ module CZMQ
|
|
3883
4008
|
end
|
3884
4009
|
|
3885
4010
|
# Get socket option `tcp_keepalive_idle`.
|
4011
|
+
# Available from libzmq 3.0.0.
|
3886
4012
|
#
|
3887
4013
|
# This is the polymorphic version of #tcp_keepalive_idle.
|
3888
4014
|
#
|
@@ -3896,6 +4022,7 @@ module CZMQ
|
|
3896
4022
|
end
|
3897
4023
|
|
3898
4024
|
# Set socket option `tcp_keepalive_idle`.
|
4025
|
+
# Available from libzmq 3.0.0.
|
3899
4026
|
#
|
3900
4027
|
# @param tcp_keepalive_idle [Integer, #to_int, #to_i]
|
3901
4028
|
# @return [void]
|
@@ -3908,6 +4035,7 @@ module CZMQ
|
|
3908
4035
|
end
|
3909
4036
|
|
3910
4037
|
# Set socket option `tcp_keepalive_idle`.
|
4038
|
+
# Available from libzmq 3.0.0.
|
3911
4039
|
#
|
3912
4040
|
# This is the polymorphic version of #set_tcp_keepalive_idle.
|
3913
4041
|
#
|
@@ -3923,6 +4051,7 @@ module CZMQ
|
|
3923
4051
|
end
|
3924
4052
|
|
3925
4053
|
# Get socket option `tcp_keepalive_cnt`.
|
4054
|
+
# Available from libzmq 3.0.0.
|
3926
4055
|
#
|
3927
4056
|
# @return [Integer]
|
3928
4057
|
def tcp_keepalive_cnt()
|
@@ -3933,6 +4062,7 @@ module CZMQ
|
|
3933
4062
|
end
|
3934
4063
|
|
3935
4064
|
# Get socket option `tcp_keepalive_cnt`.
|
4065
|
+
# Available from libzmq 3.0.0.
|
3936
4066
|
#
|
3937
4067
|
# This is the polymorphic version of #tcp_keepalive_cnt.
|
3938
4068
|
#
|
@@ -3946,6 +4076,7 @@ module CZMQ
|
|
3946
4076
|
end
|
3947
4077
|
|
3948
4078
|
# Set socket option `tcp_keepalive_cnt`.
|
4079
|
+
# Available from libzmq 3.0.0.
|
3949
4080
|
#
|
3950
4081
|
# @param tcp_keepalive_cnt [Integer, #to_int, #to_i]
|
3951
4082
|
# @return [void]
|
@@ -3958,6 +4089,7 @@ module CZMQ
|
|
3958
4089
|
end
|
3959
4090
|
|
3960
4091
|
# Set socket option `tcp_keepalive_cnt`.
|
4092
|
+
# Available from libzmq 3.0.0.
|
3961
4093
|
#
|
3962
4094
|
# This is the polymorphic version of #set_tcp_keepalive_cnt.
|
3963
4095
|
#
|
@@ -3973,6 +4105,7 @@ module CZMQ
|
|
3973
4105
|
end
|
3974
4106
|
|
3975
4107
|
# Get socket option `tcp_keepalive_intvl`.
|
4108
|
+
# Available from libzmq 3.0.0.
|
3976
4109
|
#
|
3977
4110
|
# @return [Integer]
|
3978
4111
|
def tcp_keepalive_intvl()
|
@@ -3983,6 +4116,7 @@ module CZMQ
|
|
3983
4116
|
end
|
3984
4117
|
|
3985
4118
|
# Get socket option `tcp_keepalive_intvl`.
|
4119
|
+
# Available from libzmq 3.0.0.
|
3986
4120
|
#
|
3987
4121
|
# This is the polymorphic version of #tcp_keepalive_intvl.
|
3988
4122
|
#
|
@@ -3996,6 +4130,7 @@ module CZMQ
|
|
3996
4130
|
end
|
3997
4131
|
|
3998
4132
|
# Set socket option `tcp_keepalive_intvl`.
|
4133
|
+
# Available from libzmq 3.0.0.
|
3999
4134
|
#
|
4000
4135
|
# @param tcp_keepalive_intvl [Integer, #to_int, #to_i]
|
4001
4136
|
# @return [void]
|
@@ -4008,6 +4143,7 @@ module CZMQ
|
|
4008
4143
|
end
|
4009
4144
|
|
4010
4145
|
# Set socket option `tcp_keepalive_intvl`.
|
4146
|
+
# Available from libzmq 3.0.0.
|
4011
4147
|
#
|
4012
4148
|
# This is the polymorphic version of #set_tcp_keepalive_intvl.
|
4013
4149
|
#
|
@@ -4023,6 +4159,7 @@ module CZMQ
|
|
4023
4159
|
end
|
4024
4160
|
|
4025
4161
|
# Get socket option `tcp_accept_filter`.
|
4162
|
+
# Available from libzmq 3.0.0.
|
4026
4163
|
#
|
4027
4164
|
# @return [::FFI::AutoPointer]
|
4028
4165
|
def tcp_accept_filter()
|
@@ -4034,6 +4171,7 @@ module CZMQ
|
|
4034
4171
|
end
|
4035
4172
|
|
4036
4173
|
# Get socket option `tcp_accept_filter`.
|
4174
|
+
# Available from libzmq 3.0.0.
|
4037
4175
|
#
|
4038
4176
|
# This is the polymorphic version of #tcp_accept_filter.
|
4039
4177
|
#
|
@@ -4048,6 +4186,7 @@ module CZMQ
|
|
4048
4186
|
end
|
4049
4187
|
|
4050
4188
|
# Set socket option `tcp_accept_filter`.
|
4189
|
+
# Available from libzmq 3.0.0.
|
4051
4190
|
#
|
4052
4191
|
# @param tcp_accept_filter [String, #to_s, nil]
|
4053
4192
|
# @return [void]
|
@@ -4059,6 +4198,7 @@ module CZMQ
|
|
4059
4198
|
end
|
4060
4199
|
|
4061
4200
|
# Set socket option `tcp_accept_filter`.
|
4201
|
+
# Available from libzmq 3.0.0.
|
4062
4202
|
#
|
4063
4203
|
# This is the polymorphic version of #set_tcp_accept_filter.
|
4064
4204
|
#
|
@@ -4073,6 +4213,7 @@ module CZMQ
|
|
4073
4213
|
end
|
4074
4214
|
|
4075
4215
|
# Get socket option `rcvmore`.
|
4216
|
+
# Available from libzmq 3.0.0.
|
4076
4217
|
#
|
4077
4218
|
# @return [Integer]
|
4078
4219
|
def rcvmore()
|
@@ -4083,6 +4224,7 @@ module CZMQ
|
|
4083
4224
|
end
|
4084
4225
|
|
4085
4226
|
# Get socket option `rcvmore`.
|
4227
|
+
# Available from libzmq 3.0.0.
|
4086
4228
|
#
|
4087
4229
|
# This is the polymorphic version of #rcvmore.
|
4088
4230
|
#
|
@@ -4095,7 +4237,8 @@ module CZMQ
|
|
4095
4237
|
result
|
4096
4238
|
end
|
4097
4239
|
|
4098
|
-
# Get socket option `fd`.
|
4240
|
+
# Get socket option `fd`.
|
4241
|
+
# Available from libzmq 3.0.0.
|
4099
4242
|
#
|
4100
4243
|
# @return [Integer or FFI::Pointer]
|
4101
4244
|
def fd()
|
@@ -4105,7 +4248,8 @@ module CZMQ
|
|
4105
4248
|
result
|
4106
4249
|
end
|
4107
4250
|
|
4108
|
-
# Get socket option `fd`.
|
4251
|
+
# Get socket option `fd`.
|
4252
|
+
# Available from libzmq 3.0.0.
|
4109
4253
|
#
|
4110
4254
|
# This is the polymorphic version of #fd.
|
4111
4255
|
#
|
@@ -4118,7 +4262,8 @@ module CZMQ
|
|
4118
4262
|
result
|
4119
4263
|
end
|
4120
4264
|
|
4121
|
-
# Get socket option `events`.
|
4265
|
+
# Get socket option `events`.
|
4266
|
+
# Available from libzmq 3.0.0.
|
4122
4267
|
#
|
4123
4268
|
# @return [Integer]
|
4124
4269
|
def events()
|
@@ -4128,7 +4273,8 @@ module CZMQ
|
|
4128
4273
|
result
|
4129
4274
|
end
|
4130
4275
|
|
4131
|
-
# Get socket option `events`.
|
4276
|
+
# Get socket option `events`.
|
4277
|
+
# Available from libzmq 3.0.0.
|
4132
4278
|
#
|
4133
4279
|
# This is the polymorphic version of #events.
|
4134
4280
|
#
|
@@ -4142,6 +4288,7 @@ module CZMQ
|
|
4142
4288
|
end
|
4143
4289
|
|
4144
4290
|
# Get socket option `last_endpoint`.
|
4291
|
+
# Available from libzmq 3.0.0.
|
4145
4292
|
#
|
4146
4293
|
# @return [::FFI::AutoPointer]
|
4147
4294
|
def last_endpoint()
|
@@ -4153,6 +4300,7 @@ module CZMQ
|
|
4153
4300
|
end
|
4154
4301
|
|
4155
4302
|
# Get socket option `last_endpoint`.
|
4303
|
+
# Available from libzmq 3.0.0.
|
4156
4304
|
#
|
4157
4305
|
# This is the polymorphic version of #last_endpoint.
|
4158
4306
|
#
|
@@ -4166,6 +4314,118 @@ module CZMQ
|
|
4166
4314
|
result
|
4167
4315
|
end
|
4168
4316
|
|
4317
|
+
# Set socket option `router_raw`.
|
4318
|
+
# Available from libzmq 3.0.0.
|
4319
|
+
#
|
4320
|
+
# @param router_raw [Integer, #to_int, #to_i]
|
4321
|
+
# @return [void]
|
4322
|
+
def set_router_raw(router_raw)
|
4323
|
+
raise DestroyedError unless @ptr
|
4324
|
+
self_p = @ptr
|
4325
|
+
router_raw = Integer(router_raw)
|
4326
|
+
result = ::CZMQ::FFI.zsock_set_router_raw(self_p, router_raw)
|
4327
|
+
result
|
4328
|
+
end
|
4329
|
+
|
4330
|
+
# Set socket option `router_raw`.
|
4331
|
+
# Available from libzmq 3.0.0.
|
4332
|
+
#
|
4333
|
+
# This is the polymorphic version of #set_router_raw.
|
4334
|
+
#
|
4335
|
+
# @param self_p [CZMQ::Zsock, #__ptr, ::FFI::Pointer, nil]
|
4336
|
+
# object reference to use this method on
|
4337
|
+
# @param router_raw [Integer, #to_int, #to_i]
|
4338
|
+
# @return [void]
|
4339
|
+
def self.set_router_raw(self_p, router_raw)
|
4340
|
+
self_p = self_p.__ptr if self_p.respond_to?(:__ptr)
|
4341
|
+
router_raw = Integer(router_raw)
|
4342
|
+
result = ::CZMQ::FFI.zsock_set_router_raw(self_p, router_raw)
|
4343
|
+
result
|
4344
|
+
end
|
4345
|
+
|
4346
|
+
# Get socket option `ipv4only`.
|
4347
|
+
# Available from libzmq 3.0.0.
|
4348
|
+
#
|
4349
|
+
# @return [Integer]
|
4350
|
+
def ipv4only()
|
4351
|
+
raise DestroyedError unless @ptr
|
4352
|
+
self_p = @ptr
|
4353
|
+
result = ::CZMQ::FFI.zsock_ipv4only(self_p)
|
4354
|
+
result
|
4355
|
+
end
|
4356
|
+
|
4357
|
+
# Get socket option `ipv4only`.
|
4358
|
+
# Available from libzmq 3.0.0.
|
4359
|
+
#
|
4360
|
+
# This is the polymorphic version of #ipv4only.
|
4361
|
+
#
|
4362
|
+
# @param self_p [CZMQ::Zsock, #__ptr, ::FFI::Pointer, nil]
|
4363
|
+
# object reference to use this method on
|
4364
|
+
# @return [Integer]
|
4365
|
+
def self.ipv4only(self_p)
|
4366
|
+
self_p = self_p.__ptr if self_p.respond_to?(:__ptr)
|
4367
|
+
result = ::CZMQ::FFI.zsock_ipv4only(self_p)
|
4368
|
+
result
|
4369
|
+
end
|
4370
|
+
|
4371
|
+
# Set socket option `ipv4only`.
|
4372
|
+
# Available from libzmq 3.0.0.
|
4373
|
+
#
|
4374
|
+
# @param ipv4only [Integer, #to_int, #to_i]
|
4375
|
+
# @return [void]
|
4376
|
+
def set_ipv4only(ipv4only)
|
4377
|
+
raise DestroyedError unless @ptr
|
4378
|
+
self_p = @ptr
|
4379
|
+
ipv4only = Integer(ipv4only)
|
4380
|
+
result = ::CZMQ::FFI.zsock_set_ipv4only(self_p, ipv4only)
|
4381
|
+
result
|
4382
|
+
end
|
4383
|
+
|
4384
|
+
# Set socket option `ipv4only`.
|
4385
|
+
# Available from libzmq 3.0.0.
|
4386
|
+
#
|
4387
|
+
# This is the polymorphic version of #set_ipv4only.
|
4388
|
+
#
|
4389
|
+
# @param self_p [CZMQ::Zsock, #__ptr, ::FFI::Pointer, nil]
|
4390
|
+
# object reference to use this method on
|
4391
|
+
# @param ipv4only [Integer, #to_int, #to_i]
|
4392
|
+
# @return [void]
|
4393
|
+
def self.set_ipv4only(self_p, ipv4only)
|
4394
|
+
self_p = self_p.__ptr if self_p.respond_to?(:__ptr)
|
4395
|
+
ipv4only = Integer(ipv4only)
|
4396
|
+
result = ::CZMQ::FFI.zsock_set_ipv4only(self_p, ipv4only)
|
4397
|
+
result
|
4398
|
+
end
|
4399
|
+
|
4400
|
+
# Set socket option `delay_attach_on_connect`.
|
4401
|
+
# Available from libzmq 3.0.0.
|
4402
|
+
#
|
4403
|
+
# @param delay_attach_on_connect [Integer, #to_int, #to_i]
|
4404
|
+
# @return [void]
|
4405
|
+
def set_delay_attach_on_connect(delay_attach_on_connect)
|
4406
|
+
raise DestroyedError unless @ptr
|
4407
|
+
self_p = @ptr
|
4408
|
+
delay_attach_on_connect = Integer(delay_attach_on_connect)
|
4409
|
+
result = ::CZMQ::FFI.zsock_set_delay_attach_on_connect(self_p, delay_attach_on_connect)
|
4410
|
+
result
|
4411
|
+
end
|
4412
|
+
|
4413
|
+
# Set socket option `delay_attach_on_connect`.
|
4414
|
+
# Available from libzmq 3.0.0.
|
4415
|
+
#
|
4416
|
+
# This is the polymorphic version of #set_delay_attach_on_connect.
|
4417
|
+
#
|
4418
|
+
# @param self_p [CZMQ::Zsock, #__ptr, ::FFI::Pointer, nil]
|
4419
|
+
# object reference to use this method on
|
4420
|
+
# @param delay_attach_on_connect [Integer, #to_int, #to_i]
|
4421
|
+
# @return [void]
|
4422
|
+
def self.set_delay_attach_on_connect(self_p, delay_attach_on_connect)
|
4423
|
+
self_p = self_p.__ptr if self_p.respond_to?(:__ptr)
|
4424
|
+
delay_attach_on_connect = Integer(delay_attach_on_connect)
|
4425
|
+
result = ::CZMQ::FFI.zsock_set_delay_attach_on_connect(self_p, delay_attach_on_connect)
|
4426
|
+
result
|
4427
|
+
end
|
4428
|
+
|
4169
4429
|
# Self test of this class.
|
4170
4430
|
#
|
4171
4431
|
# @param verbose [Boolean]
|