new StompServer(config)
60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 |-
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
- Source: 97 |
- 98 | stompServer.js, line 37 99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
Parameters:
118 | 119 | 120 |Name | 125 | 126 | 127 |Type | 128 | 129 | 130 | 131 | 132 | 133 |Description | 134 |
---|---|---|
config |
143 |
144 |
145 |
146 |
147 |
148 | ServerConfig
149 |
150 |
151 |
152 | |
153 |
154 |
155 |
156 |
157 |
158 |
159 | Configuration for STOMP server 160 | 161 | |
162 |
Extends
189 | 190 | 191 | 192 | 193 |-
194 |
- EventEmitter 195 |
Members
210 | 211 | 212 | 213 |send
215 | 216 | 217 | 218 | 219 |Send message to topic
221 |-
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
- Source: 255 |
- 256 | stompServer.js, line 374 257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
Methods
280 | 281 | 282 | 283 |(private) _checkSubMatchDest(sub, args) → {boolean}
288 | 289 | 290 | 291 | 292 | 293 |Test if the input subscriber has subscribed to the target destination.
295 |-
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
- Source: 329 |
- 330 | stompServer.js, line 490 331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
Parameters:
350 | 351 | 352 |Name | 357 | 358 | 359 |Type | 360 | 361 | 362 | 363 | 364 | 365 |Description | 366 |
---|---|---|
sub |
375 |
376 |
377 | 378 | 379 | | 380 | 381 | 382 | 383 | 384 | 385 |
386 | the subscriber 387 | 388 | |
389 |
args |
396 |
397 |
398 | 399 | 400 | | 401 | 402 | 403 | 404 | 405 | 406 |
407 | onSend args 408 | 409 | |
410 |
Returns:
431 | 432 | 433 | 434 |-
435 |
- 436 | Type: 437 | 438 |
-
439 |
440 |
boolean
441 | 442 | 443 |
444 |
true if the input subscription matches destination
449 |(private) _sendToSubscriptions(socket, args)
464 | 465 | 466 | 467 | 468 | 469 |Send message to matching subscribers.
471 |-
478 |
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
491 |
492 |
493 |
494 |
495 |
496 |
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
- Source: 505 |
- 506 | stompServer.js, line 347 507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
Parameters:
526 | 527 | 528 |Name | 533 | 534 | 535 |Type | 536 | 537 | 538 | 539 | 540 | 541 |Description | 542 |
---|---|---|
socket |
551 |
552 |
553 |
554 |
555 |
556 | object
557 |
558 |
559 |
560 | |
561 |
562 |
563 |
564 |
565 |
566 |
567 | websocket to send the message on 568 | 569 | |
570 |
args |
577 |
578 |
579 |
580 |
581 |
582 | string
583 |
584 |
585 |
586 | |
587 |
588 |
589 |
590 |
591 |
592 |
593 | onSend args 594 | 595 | |
596 |
addMiddleware(command, handler)
625 | 626 | 627 | 628 | 629 | 630 |Add middle-ware for specific command
632 |-
639 |
640 |
641 |
642 |
643 |
644 |
645 |
646 |
647 |
648 |
649 |
650 |
651 |
652 |
653 |
654 |
655 |
656 |
657 |
658 |
659 |
660 |
661 |
662 |
663 |
664 |
665 |
- Source: 666 |
- 667 | stompServer.js, line 84 668 |
669 |
670 |
671 |
672 |
673 |
674 |
675 |
676 |
Parameters:
687 | 688 | 689 |Name | 694 | 695 | 696 |Type | 697 | 698 | 699 | 700 | 701 | 702 |Description | 703 |
---|---|---|
command |
712 |
713 |
714 |
715 |
716 |
717 | 'connect'
718 | |
719 |
720 | 'disconnect'
721 | |
722 |
723 | 'send'
724 | |
725 |
726 | 'subscribe'
727 | |
728 |
729 | 'unsubscribe'
730 |
731 |
732 |
733 | |
734 |
735 |
736 |
737 |
738 |
739 |
740 | Command to hook 741 | 742 | |
743 |
handler |
750 |
751 |
752 |
753 |
754 |
755 | function
756 |
757 |
758 |
759 | |
760 |
761 |
762 |
763 |
764 |
765 |
766 | function to add in middle-ware 767 | 768 | |
769 |
afterConnectionClose(socket)
798 | 799 | 800 | 801 | 802 | 803 |After connection close
805 |-
812 |
813 |
814 |
815 |
816 |
817 |
818 |
819 |
820 |
821 |
822 |
823 |
824 |
825 |
826 |
827 |
828 |
829 |
830 |
831 |
832 |
833 |
834 |
835 |
836 |
837 |
838 |
- Source: 839 |
- 840 | stompServer.js, line 511 841 |
842 |
843 |
844 |
845 |
846 |
847 |
848 |
849 |
Parameters:
860 | 861 | 862 |Name | 867 | 868 | 869 |Type | 870 | 871 | 872 | 873 | 874 | 875 |Description | 876 |
---|---|---|
socket |
885 |
886 |
887 | 888 | 889 | | 890 | 891 | 892 | 893 | 894 | 895 |
896 | WebSocket connection that has been closed and is dying 897 | 898 | |
899 |
frameParser(frame) → {MsgFrame}
928 | 929 | 930 | 931 | 932 | 933 |Parse frame to object for reading
935 |-
942 |
943 |
944 |
945 |
946 |
947 |
948 |
949 |
950 |
951 |
952 |
953 |
954 |
955 |
956 |
957 |
958 |
959 |
960 |
961 |
962 |
963 |
964 |
965 |
966 |
967 |
968 |
- Source: 969 |
- 970 | stompServer.js, line 417 971 |
972 |
973 |
974 |
975 |
976 |
977 |
978 |
979 |
Parameters:
990 | 991 | 992 |Name | 997 | 998 | 999 |Type | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 |Description | 1006 |
---|---|---|
frame |
1015 |
1016 |
1017 |
1018 |
1019 |
1020 | MsgFrame
1021 |
1022 |
1023 |
1024 | |
1025 |
1026 |
1027 |
1028 |
1029 |
1030 |
1031 | Message frame 1032 | 1033 | |
1034 |
Returns:
1055 | 1056 | 1057 | 1058 |-
1059 |
- 1060 | Type: 1061 | 1062 |
-
1063 |
1064 |
MsgFrame
1065 | 1066 | 1067 |
1068 |
modified frame
1073 |frameSerializer(frame) → {MsgFrame}
1088 | 1089 | 1090 | 1091 | 1092 | 1093 |Serialize frame to string for send
1095 |-
1102 |
1103 |
1104 |
1105 |
1106 |
1107 |
1108 |
1109 |
1110 |
1111 |
1112 |
1113 |
1114 |
1115 |
1116 |
1117 |
1118 |
1119 |
1120 |
1121 |
1122 |
1123 |
1124 |
1125 |
1126 |
1127 |
1128 |
- Source: 1129 |
- 1130 | stompServer.js, line 403 1131 |
1132 |
1133 |
1134 |
1135 |
1136 |
1137 |
1138 |
1139 |
Parameters:
1150 | 1151 | 1152 |Name | 1157 | 1158 | 1159 |Type | 1160 | 1161 | 1162 | 1163 | 1164 | 1165 |Description | 1166 |
---|---|---|
frame |
1175 |
1176 |
1177 |
1178 |
1179 |
1180 | MsgFrame
1181 |
1182 |
1183 |
1184 | |
1185 |
1186 |
1187 |
1188 |
1189 |
1190 |
1191 | Message frame 1192 | 1193 | |
1194 |
Returns:
1215 | 1216 | 1217 | 1218 |-
1219 |
- 1220 | Type: 1221 | 1222 |
-
1223 |
1224 |
MsgFrame
1225 | 1226 | 1227 |
1228 |
modified frame
1233 |heartbeatOff(socket)
1248 | 1249 | 1250 | 1251 | 1252 | 1253 |Heart-beat: Turn Off for given socket
1255 |-
1262 |
1263 |
1264 |
1265 |
1266 |
1267 |
1268 |
1269 |
1270 |
1271 |
1272 |
1273 |
1274 |
1275 |
1276 |
1277 |
1278 |
1279 |
1280 |
1281 |
1282 |
1283 |
1284 |
1285 |
1286 |
1287 |
1288 |
- Source: 1289 |
- 1290 | stompServer.js, line 472 1291 |
1292 |
1293 |
1294 |
1295 |
1296 |
1297 |
1298 |
1299 |
Parameters:
1310 | 1311 | 1312 |Name | 1317 | 1318 | 1319 |Type | 1320 | 1321 | 1322 | 1323 | 1324 | 1325 |Description | 1326 |
---|---|---|
socket |
1335 |
1336 |
1337 |
1338 |
1339 |
1340 | WebSocket
1341 |
1342 |
1343 |
1344 | |
1345 |
1346 |
1347 |
1348 |
1349 |
1350 |
1351 | Destination WebSocket 1352 | 1353 | |
1354 |
heartbeatOn(socket, interval, serverSide)
1383 | 1384 | 1385 | 1386 | 1387 | 1388 |Heart-beat: Turn On for given socket
1390 |-
1397 |
1398 |
1399 |
1400 |
1401 |
1402 |
1403 |
1404 |
1405 |
1406 |
1407 |
1408 |
1409 |
1410 |
1411 |
1412 |
1413 |
1414 |
1415 |
1416 |
1417 |
1418 |
1419 |
1420 |
1421 |
1422 |
1423 |
- Source: 1424 |
- 1425 | stompServer.js, line 436 1426 |
1427 |
1428 |
1429 |
1430 |
1431 |
1432 |
1433 |
1434 |
Parameters:
1445 | 1446 | 1447 |Name | 1452 | 1453 | 1454 |Type | 1455 | 1456 | 1457 | 1458 | 1459 | 1460 |Description | 1461 |
---|---|---|
socket |
1470 |
1471 |
1472 |
1473 |
1474 |
1475 | WebSocket
1476 |
1477 |
1478 |
1479 | |
1480 |
1481 |
1482 |
1483 |
1484 |
1485 |
1486 | Destination WebSocket 1487 | 1488 | |
1489 |
interval |
1496 |
1497 |
1498 |
1499 |
1500 |
1501 | number
1502 |
1503 |
1504 |
1505 | |
1506 |
1507 |
1508 |
1509 |
1510 |
1511 |
1512 | Heart-beat interval 1513 | 1514 | |
1515 |
serverSide |
1522 |
1523 |
1524 |
1525 |
1526 |
1527 | boolean
1528 |
1529 |
1530 |
1531 | |
1532 |
1533 |
1534 |
1535 |
1536 |
1537 |
1538 | If true then server is responsible for sending pings 1539 | 1540 | |
1541 |
removeMiddleware(command, handler)
1570 | 1571 | 1572 | 1573 | 1574 | 1575 |Remove middle-ware specific for command
1577 |-
1584 |
1585 |
1586 |
1587 |
1588 |
1589 |
1590 |
1591 |
1592 |
1593 |
1594 |
1595 |
1596 |
1597 |
1598 |
1599 |
1600 |
1601 |
1602 |
1603 |
1604 |
1605 |
1606 |
1607 |
1608 |
1609 |
1610 |
- Source: 1611 |
- 1612 | stompServer.js, line 107 1613 |
1614 |
1615 |
1616 |
1617 |
1618 |
1619 |
1620 |
1621 |
Parameters:
1632 | 1633 | 1634 |Name | 1639 | 1640 | 1641 |Type | 1642 | 1643 | 1644 | 1645 | 1646 | 1647 |Description | 1648 |
---|---|---|
command |
1657 |
1658 |
1659 |
1660 |
1661 |
1662 | 'connect'
1663 | |
1664 |
1665 | 'disconnect'
1666 | |
1667 |
1668 | 'send'
1669 | |
1670 |
1671 | 'subscribe'
1672 | |
1673 |
1674 | 'unsubscribe'
1675 |
1676 |
1677 |
1678 | |
1679 |
1680 |
1681 |
1682 |
1683 |
1684 |
1685 | Command with hook 1686 | 1687 | |
1688 |
handler |
1695 |
1696 |
1697 |
1698 |
1699 |
1700 | function
1701 |
1702 |
1703 |
1704 | |
1705 |
1706 |
1707 |
1708 |
1709 |
1710 |
1711 | function to remove from middle-ware 1712 | 1713 | |
1714 |
setMiddleware(command, handler)
1743 | 1744 | 1745 | 1746 | 1747 | 1748 |Clear and set middle-ware for specific command
1750 |-
1757 |
1758 |
1759 |
1760 |
1761 |
1762 |
1763 |
1764 |
1765 |
1766 |
1767 |
1768 |
1769 |
1770 |
1771 |
1772 |
1773 |
1774 |
1775 |
1776 |
1777 |
1778 |
1779 |
1780 |
1781 |
1782 |
1783 |
- Source: 1784 |
- 1785 | stompServer.js, line 97 1786 |
1787 |
1788 |
1789 |
1790 |
1791 |
1792 |
1793 |
1794 |
Parameters:
1805 | 1806 | 1807 |Name | 1812 | 1813 | 1814 |Type | 1815 | 1816 | 1817 | 1818 | 1819 | 1820 |Description | 1821 |
---|---|---|
command |
1830 |
1831 |
1832 |
1833 |
1834 |
1835 | 'connect'
1836 | |
1837 |
1838 | 'disconnect'
1839 | |
1840 |
1841 | 'send'
1842 | |
1843 |
1844 | 'subscribe'
1845 | |
1846 |
1847 | 'unsubscribe'
1848 |
1849 |
1850 |
1851 | |
1852 |
1853 |
1854 |
1855 |
1856 |
1857 |
1858 | Command to hook 1859 | 1860 | |
1861 |
handler |
1868 |
1869 |
1870 |
1871 |
1872 |
1873 | function
1874 |
1875 |
1876 |
1877 | |
1878 |
1879 |
1880 |
1881 |
1882 |
1883 |
1884 | function to add in middle-ware 1885 | 1886 | |
1887 |
subscribe(topic, callbackopt, headers) → {string}
1916 | 1917 | 1918 | 1919 | 1920 | 1921 |Subscribe topic
1923 |-
1930 |
1931 |
1932 |
1933 |
1934 |
1935 |
1936 |
1937 |
1938 |
1939 |
1940 |
1941 |
1942 |
1943 |
1944 |
1945 |
1946 |
1947 |
1948 |
1949 |
1950 |
1951 |
1952 |
1953 |
1954 |
1955 |
1956 |
- Source: 1957 |
- 1958 | stompServer.js, line 303 1959 |
1960 |
1961 |
1962 |
1963 |
1964 |
1965 |
1966 |
1967 |
Parameters:
1978 | 1979 | 1980 |Name | 1985 | 1986 | 1987 |Type | 1988 | 1989 | 1990 |Attributes | 1991 | 1992 | 1993 | 1994 | 1995 |Description | 1996 |
---|---|---|---|
topic |
2005 |
2006 |
2007 |
2008 |
2009 |
2010 | string
2011 |
2012 |
2013 |
2014 | |
2015 |
2016 |
2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | | 2024 | 2025 | 2026 | 2027 | 2028 |
2029 | Subscribed destination, wildcard is supported 2030 | 2031 | |
2032 |
callback |
2039 |
2040 |
2041 |
2042 |
2043 |
2044 | OnSubscribedMessageCallback
2045 |
2046 |
2047 |
2048 | |
2049 |
2050 |
2051 |
2052 |
2053 | <optional> 2054 | 2055 | 2056 | 2057 | 2058 | 2059 | |
2060 |
2061 |
2062 |
2063 |
2064 |
2065 | Callback function 2066 | 2067 | |
2068 |
headers |
2075 |
2076 |
2077 |
2078 |
2079 |
2080 | object
2081 |
2082 |
2083 |
2084 | |
2085 |
2086 |
2087 | 2088 | 2089 | 2090 | 2091 | 2092 | 2093 | | 2094 | 2095 | 2096 | 2097 | 2098 |
2099 | Optional headers, used by client to provide a subscription ID (headers.id) 2100 | 2101 | |
2102 |
Returns:
2123 | 2124 | 2125 | 2126 |-
2127 |
- 2128 | Type: 2129 | 2130 |
-
2131 |
2132 |
string
2133 | 2134 | 2135 |
2136 |
Subscription id, when message is received event with this id is emitted
2141 |Example
2150 | 2151 |stompServer.subscribe('/test.data', function(msg, headers) {});
2152 | //or alternative
2153 | var subs_id = stompServer.subscribe('/test.data');
2154 | stompServer.on(subs_id, function(msg, headers) {});
2155 |
2156 | unsubscribe(id) → {boolean}
2166 | 2167 | 2168 | 2169 | 2170 | 2171 |Unsubscribe topic with subscription id
2173 |-
2180 |
2181 |
2182 |
2183 |
2184 |
2185 |
2186 |
2187 |
2188 |
2189 |
2190 |
2191 |
2192 |
2193 |
2194 |
2195 |
2196 |
2197 |
2198 |
2199 |
2200 |
2201 |
2202 |
2203 |
2204 |
2205 |
2206 |
- Source: 2207 |
- 2208 | stompServer.js, line 330 2209 |
2210 |
2211 |
2212 |
2213 |
2214 |
2215 |
2216 |
2217 |
Parameters:
2228 | 2229 | 2230 |Name | 2235 | 2236 | 2237 |Type | 2238 | 2239 | 2240 | 2241 | 2242 | 2243 |Description | 2244 |
---|---|---|
id |
2253 |
2254 |
2255 |
2256 |
2257 |
2258 | string
2259 |
2260 |
2261 |
2262 | |
2263 |
2264 |
2265 |
2266 |
2267 |
2268 |
2269 | Subscription id 2270 | 2271 | |
2272 |
Returns:
2293 | 2294 | 2295 | 2296 |-
2297 |
- 2298 | Type: 2299 | 2300 |
-
2301 |
2302 |
boolean
2303 | 2304 | 2305 |
2306 |
Subscription is deleted
2311 |Events
2326 | 2327 | 2328 | 2329 |connected
2334 | 2335 | 2336 | 2337 | 2338 | 2339 |Client connected event, emitted after connection established and negotiated
2341 |Properties:
2348 | 2349 | 2350 | 2351 |Name | 2356 | 2357 | 2358 |Type | 2359 | 2360 | 2361 | 2362 | 2363 | 2364 |Description | 2365 |
---|---|---|
sessionId |
2374 |
2375 |
2376 |
2377 |
2378 |
2379 | string
2380 |
2381 |
2382 |
2383 | |
2384 |
2385 |
2386 |
2387 |
2388 |
2389 | 2390 | |
headers |
2399 |
2400 |
2401 |
2402 |
2403 |
2404 | object
2405 |
2406 |
2407 |
2408 | |
2409 |
2410 |
2411 |
2412 |
2413 |
2414 | 2415 | |
-
2427 |
2428 |
2429 |
2430 |
2431 |
2432 |
2433 |
2434 |
2435 |
2436 |
2437 |
2438 |
2439 |
2440 |
2441 |
2442 |
2443 |
2444 |
2445 |
2446 |
2447 |
2448 |
2449 |
2450 |
2451 |
2452 |
2453 |
- Source: 2454 |
- 2455 | stompServer.js, line 134 2456 |
2457 |
2458 |
2459 |
2460 |
2461 |
2462 |
2463 |
2464 |
Type:
2472 |-
2473 |
-
2474 |
2475 |
object
2476 | 2477 | 2478 |
2479 |
connecting
2508 | 2509 | 2510 | 2511 | 2512 | 2513 |Client connecting event, emitted after socket is opened.
2515 |Properties:
2522 | 2523 | 2524 | 2525 |Name | 2530 | 2531 | 2532 |Type | 2533 | 2534 | 2535 | 2536 | 2537 | 2538 |Description | 2539 |
---|---|---|
sessionId |
2548 |
2549 |
2550 |
2551 |
2552 |
2553 | string
2554 |
2555 |
2556 |
2557 | |
2558 |
2559 |
2560 |
2561 |
2562 |
2563 | 2564 | |
-
2576 |
2577 |
2578 |
2579 |
2580 |
2581 |
2582 |
2583 |
2584 |
2585 |
2586 |
2587 |
2588 |
2589 |
2590 |
2591 |
2592 |
2593 |
2594 |
2595 |
2596 |
2597 |
2598 |
2599 |
2600 |
2601 |
2602 |
- Source: 2603 |
- 2604 | stompServer.js, line 55 2605 |
2606 |
2607 |
2608 |
2609 |
2610 |
2611 |
2612 |
2613 |
Type:
2621 |-
2622 |
-
2623 |
2624 |
object
2625 | 2626 | 2627 |
2628 |
disconnected
2657 | 2658 | 2659 | 2660 | 2661 | 2662 |Client disconnected event
2664 |Properties:
2671 | 2672 | 2673 | 2674 |Name | 2679 | 2680 | 2681 |Type | 2682 | 2683 | 2684 | 2685 | 2686 | 2687 |Description | 2688 |
---|---|---|
sessionId |
2697 |
2698 |
2699 |
2700 |
2701 |
2702 | string
2703 |
2704 |
2705 |
2706 | |
2707 |
2708 |
2709 |
2710 |
2711 |
2712 | 2713 | |
-
2725 |
2726 |
2727 |
2728 |
2729 |
2730 |
2731 |
2732 |
2733 |
2734 |
2735 |
2736 |
2737 |
2738 |
2739 |
2740 |
2741 |
2742 |
2743 |
2744 |
2745 |
2746 |
2747 |
2748 |
2749 |
2750 |
2751 |
- Source: 2752 |
- 2753 | stompServer.js, line 152 2754 |
2755 |
2756 |
2757 |
2758 |
2759 |
2760 |
2761 |
2762 |
Type:
2770 |-
2771 |
-
2772 |
2773 |
object
2774 | 2775 | 2776 |
2777 |
send
2806 | 2807 | 2808 | 2809 | 2810 | 2811 |Event emitted when broker send message to subscribers
2813 |Properties:
2820 | 2821 | 2822 | 2823 |Name | 2828 | 2829 | 2830 |Type | 2831 | 2832 | 2833 | 2834 | 2835 | 2836 |Description | 2837 |
---|---|---|
dest |
2846 |
2847 |
2848 |
2849 |
2850 |
2851 | string
2852 |
2853 |
2854 |
2855 | |
2856 |
2857 |
2858 |
2859 |
2860 |
2861 | Destination |
2862 |
frame |
2871 |
2872 |
2873 |
2874 |
2875 |
2876 | string
2877 |
2878 |
2879 |
2880 | |
2881 |
2882 |
2883 |
2884 |
2885 |
2886 | Message frame |
2887 |
-
2899 |
2900 |
2901 |
2902 |
2903 |
2904 |
2905 |
2906 |
2907 |
2908 |
2909 |
2910 |
2911 |
2912 |
2913 |
2914 |
2915 |
2916 |
2917 |
2918 |
2919 |
2920 |
2921 |
2922 |
2923 |
2924 |
2925 |
- Source: 2926 |
- 2927 | stompServer.js, line 168 2928 |
2929 |
2930 |
2931 |
2932 |
2933 |
2934 |
2935 |
2936 |
Type:
2944 |-
2945 |
-
2946 |
2947 |
object
2948 | 2949 | 2950 |
2951 |
subscribe
2980 | 2981 | 2982 | 2983 | 2984 | 2985 |Client subscribe event, emitted when client subscribe topic
2987 |Properties:
2994 | 2995 | 2996 | 2997 |Name | 3002 | 3003 | 3004 |Type | 3005 | 3006 | 3007 | 3008 | 3009 | 3010 |Description | 3011 |
---|---|---|
id |
3020 |
3021 |
3022 |
3023 |
3024 |
3025 | string
3026 |
3027 |
3028 |
3029 | |
3030 |
3031 |
3032 |
3033 |
3034 |
3035 | Subscription id |
3036 |
sessionId |
3045 |
3046 |
3047 |
3048 |
3049 |
3050 | string
3051 |
3052 |
3053 |
3054 | |
3055 |
3056 |
3057 |
3058 |
3059 |
3060 | Socket session id |
3061 |
topic |
3070 |
3071 |
3072 |
3073 |
3074 |
3075 | string
3076 |
3077 |
3078 |
3079 | |
3080 |
3081 |
3082 |
3083 |
3084 |
3085 | Destination topic |
3086 |
tokens |
3095 |
3096 |
3097 |
3098 |
3099 |
3100 | Array.<string>
3101 |
3102 |
3103 |
3104 | |
3105 |
3106 |
3107 |
3108 |
3109 |
3110 | Tokenized topic |
3111 |
socket |
3120 |
3121 |
3122 |
3123 |
3124 |
3125 | object
3126 |
3127 |
3128 |
3129 | |
3130 |
3131 |
3132 |
3133 |
3134 |
3135 | Connected socket |
3136 |
-
3148 |
3149 |
3150 |
3151 |
3152 |
3153 |
3154 |
3155 |
3156 |
3157 |
3158 |
3159 |
3160 |
3161 |
3162 |
3163 |
3164 |
3165 |
3166 |
3167 |
3168 |
3169 |
3170 |
3171 |
3172 |
3173 |
3174 |
- Source: 3175 |
- 3176 | stompServer.js, line 216 3177 |
3178 |
3179 |
3180 |
3181 |
3182 |
3183 |
3184 |
3185 |
Type:
3193 |-
3194 |
-
3195 |
3196 |
object
3197 | 3198 | 3199 |
3200 |
unsubscribe
3229 | 3230 | 3231 | 3232 | 3233 | 3234 |Client subscribe event, emitted when client unsubscribe topic
3236 |Properties:
3243 | 3244 | 3245 | 3246 |Name | 3251 | 3252 | 3253 |Type | 3254 | 3255 | 3256 | 3257 | 3258 | 3259 |Description | 3260 |
---|---|---|
id |
3269 |
3270 |
3271 |
3272 |
3273 |
3274 | string
3275 |
3276 |
3277 |
3278 | |
3279 |
3280 |
3281 |
3282 |
3283 |
3284 | Subscription id |
3285 |
sessionId |
3294 |
3295 |
3296 |
3297 |
3298 |
3299 | string
3300 |
3301 |
3302 |
3303 | |
3304 |
3305 |
3306 |
3307 |
3308 |
3309 | Socket session id |
3310 |
topic |
3319 |
3320 |
3321 |
3322 |
3323 |
3324 | string
3325 |
3326 |
3327 |
3328 | |
3329 |
3330 |
3331 |
3332 |
3333 |
3334 | Destination topic |
3335 |
tokens |
3344 |
3345 |
3346 |
3347 |
3348 |
3349 | Array.<string>
3350 |
3351 |
3352 |
3353 | |
3354 |
3355 |
3356 |
3357 |
3358 |
3359 | Tokenized topic |
3360 |
socket |
3369 |
3370 |
3371 |
3372 |
3373 |
3374 | object
3375 |
3376 |
3377 |
3378 | |
3379 |
3380 |
3381 |
3382 |
3383 |
3384 | Connected socket |
3385 |
-
3397 |
3398 |
3399 |
3400 |
3401 |
3402 |
3403 |
3404 |
3405 |
3406 |
3407 |
3408 |
3409 |
3410 |
3411 |
3412 |
3413 |
3414 |
3415 |
3416 |
3417 |
3418 |
3419 |
3420 |
3421 |
3422 |
3423 |
- Source: 3424 |
- 3425 | stompServer.js, line 242 3426 |
3427 |
3428 |
3429 |
3430 |
3431 |
3432 |
3433 |
3434 |
Type:
3442 |-
3443 |
-
3444 |
3445 |
object
3446 | 3447 | 3448 |
3449 |
Returns:
3470 | 3471 | 3472 | 3473 |-
3474 |
- 3475 | Type: 3476 | 3477 |
-
3478 |
3479 |
boolean
3480 | 3481 | 3482 |
3483 |