mqtt 5.0.0-beta.2 → 5.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -28
- package/build/package.json +162 -0
- package/build/src/bin/mqtt.d.ts +2 -0
- package/build/src/bin/mqtt.js +27 -0
- package/build/src/bin/mqtt.js.map +1 -0
- package/build/src/bin/pub.d.ts +2 -0
- package/build/src/bin/pub.js +146 -0
- package/build/src/bin/pub.js.map +1 -0
- package/build/src/bin/sub.d.ts +2 -0
- package/build/src/bin/sub.js +121 -0
- package/build/src/bin/sub.js.map +1 -0
- package/build/src/lib/TypedEmitter.d.ts +11 -0
- package/build/src/lib/TypedEmitter.js +13 -0
- package/build/src/lib/TypedEmitter.js.map +1 -0
- package/build/src/lib/client.d.ts +266 -0
- package/build/src/lib/client.js +1147 -0
- package/build/src/lib/client.js.map +1 -0
- package/build/src/lib/connect/ali.d.ts +3 -0
- package/build/src/lib/connect/ali.js +113 -0
- package/build/src/lib/connect/ali.js.map +1 -0
- package/build/src/lib/connect/index.d.ts +5 -0
- package/build/src/lib/connect/index.js +134 -0
- package/build/src/lib/connect/index.js.map +1 -0
- package/build/src/lib/connect/tcp.d.ts +3 -0
- package/build/src/lib/connect/tcp.js +18 -0
- package/build/src/lib/connect/tcp.js.map +1 -0
- package/build/src/lib/connect/tls.d.ts +3 -0
- package/build/src/lib/connect/tls.js +38 -0
- package/build/src/lib/connect/tls.js.map +1 -0
- package/build/src/lib/connect/ws.d.ts +3 -0
- package/build/src/lib/connect/ws.js +212 -0
- package/build/src/lib/connect/ws.js.map +1 -0
- package/build/src/lib/connect/wx.d.ts +3 -0
- package/build/src/lib/connect/wx.js +117 -0
- package/build/src/lib/connect/wx.js.map +1 -0
- package/build/src/lib/default-message-id-provider.d.ts +16 -0
- package/build/src/lib/default-message-id-provider.js +24 -0
- package/build/src/lib/default-message-id-provider.js.map +1 -0
- package/build/src/lib/handlers/ack.d.ts +48 -0
- package/build/src/lib/handlers/ack.js +129 -0
- package/build/src/lib/handlers/ack.js.map +1 -0
- package/build/src/lib/handlers/auth.d.ts +3 -0
- package/build/src/lib/handlers/auth.js +30 -0
- package/build/src/lib/handlers/auth.js.map +1 -0
- package/build/src/lib/handlers/connack.d.ts +3 -0
- package/build/src/lib/handlers/connack.js +48 -0
- package/build/src/lib/handlers/connack.js.map +1 -0
- package/build/src/lib/handlers/index.d.ts +3 -0
- package/build/src/lib/handlers/index.js +64 -0
- package/build/src/lib/handlers/index.js.map +1 -0
- package/build/src/lib/handlers/publish.d.ts +3 -0
- package/build/src/lib/handlers/publish.js +106 -0
- package/build/src/lib/handlers/publish.js.map +1 -0
- package/build/src/lib/handlers/pubrel.d.ts +3 -0
- package/build/src/lib/handlers/pubrel.js +25 -0
- package/build/src/lib/handlers/pubrel.js.map +1 -0
- package/build/src/lib/is-browser.d.ts +2 -0
- package/build/src/lib/is-browser.js +8 -0
- package/build/src/lib/is-browser.js.map +1 -0
- package/build/src/lib/shared.d.ts +17 -0
- package/build/src/lib/shared.js +35 -0
- package/build/src/lib/shared.js.map +1 -0
- package/build/src/lib/store.d.ts +24 -0
- package/build/src/lib/store.js +80 -0
- package/build/src/lib/store.js.map +1 -0
- package/build/src/lib/topic-alias-recv.d.ts +9 -0
- package/build/src/lib/topic-alias-recv.js +24 -0
- package/build/src/lib/topic-alias-recv.js.map +1 -0
- package/build/src/lib/topic-alias-send.d.ts +13 -0
- package/build/src/lib/topic-alias-send.js +56 -0
- package/build/src/lib/topic-alias-send.js.map +1 -0
- package/build/src/lib/unique-message-id-provider.d.ts +10 -0
- package/build/src/lib/unique-message-id-provider.js +26 -0
- package/build/src/lib/unique-message-id-provider.js.map +1 -0
- package/build/src/lib/validations.d.ts +2 -0
- package/build/src/lib/validations.js +32 -0
- package/build/src/lib/validations.js.map +1 -0
- package/build/src/mqtt.d.ts +8 -0
- package/build/src/mqtt.js +33 -0
- package/build/src/mqtt.js.map +1 -0
- package/build/tsconfig.build.tsbuildinfo +1 -0
- package/dist/mqtt.js +4987 -5249
- package/dist/mqtt.min.js +4 -4
- package/package.json +84 -66
- package/src/bin/mqtt.ts +32 -0
- package/src/bin/pub.ts +171 -0
- package/src/bin/sub.ts +146 -0
- package/src/lib/TypedEmitter.ts +45 -0
- package/src/lib/client.ts +2279 -0
- package/src/lib/connect/ali.ts +128 -0
- package/src/lib/connect/index.ts +180 -0
- package/src/lib/connect/tcp.ts +23 -0
- package/src/lib/connect/tls.ts +56 -0
- package/src/lib/connect/ws.ts +282 -0
- package/src/lib/connect/wx.ts +141 -0
- package/src/lib/default-message-id-provider.ts +99 -0
- package/src/lib/handlers/ack.ts +151 -0
- package/src/lib/handlers/auth.ts +44 -0
- package/src/lib/handlers/connack.ts +55 -0
- package/src/lib/handlers/index.ts +67 -0
- package/src/lib/handlers/publish.ts +183 -0
- package/src/lib/handlers/pubrel.ts +27 -0
- package/src/lib/is-browser.ts +12 -0
- package/src/lib/shared.ts +73 -0
- package/src/lib/store.ts +166 -0
- package/src/lib/topic-alias-recv.ts +48 -0
- package/src/lib/topic-alias-send.ts +96 -0
- package/src/lib/unique-message-id-provider.ts +63 -0
- package/src/lib/validations.ts +46 -0
- package/src/mqtt.ts +23 -0
- package/bin/mqtt.js +0 -27
- package/bin/pub.js +0 -146
- package/bin/sub.js +0 -123
- package/lib/client.js +0 -1918
- package/lib/connect/ali.js +0 -129
- package/lib/connect/index.js +0 -169
- package/lib/connect/tcp.js +0 -20
- package/lib/connect/tls.js +0 -48
- package/lib/connect/ws.js +0 -257
- package/lib/connect/wx.js +0 -133
- package/lib/default-message-id-provider.js +0 -69
- package/lib/is-browser.js +0 -11
- package/lib/store.js +0 -128
- package/lib/topic-alias-recv.js +0 -47
- package/lib/topic-alias-send.js +0 -91
- package/lib/unique-message-id-provider.js +0 -65
- package/lib/validations.js +0 -52
- package/mqtt.js +0 -21
- package/types/index.d.ts +0 -30
- package/types/lib/client-options.d.ts +0 -208
- package/types/lib/client.d.ts +0 -261
- package/types/lib/connect/index.d.ts +0 -19
- package/types/lib/default-message-id-provider.d.ts +0 -49
- package/types/lib/message-id-provider.d.ts +0 -40
- package/types/lib/store-options.d.ts +0 -6
- package/types/lib/store.d.ts +0 -46
- package/types/lib/unique-message-id-provider.d.ts +0 -48
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TypedEventEmitter = void 0;
|
|
7
|
+
const events_1 = __importDefault(require("events"));
|
|
8
|
+
const shared_1 = require("./shared");
|
|
9
|
+
class TypedEventEmitter {
|
|
10
|
+
}
|
|
11
|
+
exports.TypedEventEmitter = TypedEventEmitter;
|
|
12
|
+
(0, shared_1.applyMixin)(TypedEventEmitter, events_1.default);
|
|
13
|
+
//# sourceMappingURL=TypedEmitter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypedEmitter.js","sourceRoot":"","sources":["../../../src/lib/TypedEmitter.ts"],"names":[],"mappings":";;;;;;AAAA,oDAAiC;AACjC,qCAAqC;AAsCrC,MAAa,iBAAiB;CAE1B;AAFJ,8CAEI;AAGJ,IAAA,mBAAU,EAAC,iBAAiB,EAAE,gBAAY,CAAC,CAAA"}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
import { IAuthPacket, IConnackPacket, IDisconnectPacket, IPublishPacket, Packet, QoS, UserProperties } from 'mqtt-packet';
|
|
4
|
+
import { IMessageIdProvider } from './default-message-id-provider';
|
|
5
|
+
import { DuplexOptions } from 'readable-stream';
|
|
6
|
+
import Store from './store';
|
|
7
|
+
import { ClientOptions } from 'ws';
|
|
8
|
+
import { ClientRequestArgs } from 'http';
|
|
9
|
+
import { DoneCallback, ErrorWithReasonCode, IStream, StreamBuilder, VoidCallback } from './shared';
|
|
10
|
+
import { TypedEventEmitter } from './TypedEmitter';
|
|
11
|
+
export type MqttProtocol = 'wss' | 'ws' | 'mqtt' | 'mqtts' | 'tcp' | 'ssl' | 'wx' | 'wxs' | 'ali' | 'alis';
|
|
12
|
+
export type StorePutCallback = () => void;
|
|
13
|
+
export interface ISecureClientOptions {
|
|
14
|
+
key?: string | string[] | Buffer | Buffer[] | any[];
|
|
15
|
+
keyPath?: string;
|
|
16
|
+
cert?: string | string[] | Buffer | Buffer[];
|
|
17
|
+
certPath?: string;
|
|
18
|
+
ca?: string | string[] | Buffer | Buffer[];
|
|
19
|
+
caPaths?: string | string[];
|
|
20
|
+
rejectUnauthorized?: boolean;
|
|
21
|
+
ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array;
|
|
22
|
+
}
|
|
23
|
+
export type AckHandler = (topic: string, message: Buffer, packet: any, cb: (error?: Error, code?: number) => void) => void;
|
|
24
|
+
export interface IClientOptions extends ISecureClientOptions {
|
|
25
|
+
encoding?: BufferEncoding;
|
|
26
|
+
browserBufferSize?: number;
|
|
27
|
+
binary?: boolean;
|
|
28
|
+
my?: any;
|
|
29
|
+
manualConnect?: any;
|
|
30
|
+
authPacket?: Partial<IAuthPacket>;
|
|
31
|
+
writeCache?: boolean;
|
|
32
|
+
servername?: string;
|
|
33
|
+
defaultProtocol?: MqttProtocol;
|
|
34
|
+
query?: Record<string, string>;
|
|
35
|
+
auth?: string;
|
|
36
|
+
customHandleAcks?: AckHandler;
|
|
37
|
+
port?: number;
|
|
38
|
+
host?: string;
|
|
39
|
+
hostname?: string;
|
|
40
|
+
path?: string;
|
|
41
|
+
protocol?: MqttProtocol;
|
|
42
|
+
wsOptions?: ClientOptions | ClientRequestArgs | DuplexOptions;
|
|
43
|
+
keepalive?: number;
|
|
44
|
+
clientId?: string;
|
|
45
|
+
protocolId?: string;
|
|
46
|
+
protocolVersion?: number;
|
|
47
|
+
clean?: boolean;
|
|
48
|
+
reconnectPeriod?: number;
|
|
49
|
+
connectTimeout?: number;
|
|
50
|
+
username?: string;
|
|
51
|
+
password?: Buffer | string;
|
|
52
|
+
incomingStore?: Store;
|
|
53
|
+
outgoingStore?: Store;
|
|
54
|
+
queueQoSZero?: boolean;
|
|
55
|
+
log?: (...args: any[]) => void;
|
|
56
|
+
autoUseTopicAlias?: boolean;
|
|
57
|
+
autoAssignTopicAlias?: boolean;
|
|
58
|
+
reschedulePings?: boolean;
|
|
59
|
+
servers?: Array<{
|
|
60
|
+
host: string;
|
|
61
|
+
port: number;
|
|
62
|
+
protocol?: 'wss' | 'ws' | 'mqtt' | 'mqtts' | 'tcp' | 'ssl' | 'wx' | 'wxs';
|
|
63
|
+
}>;
|
|
64
|
+
resubscribe?: boolean;
|
|
65
|
+
will?: {
|
|
66
|
+
topic: string;
|
|
67
|
+
payload: Buffer | string;
|
|
68
|
+
qos: QoS;
|
|
69
|
+
retain: boolean;
|
|
70
|
+
properties?: {
|
|
71
|
+
willDelayInterval?: number;
|
|
72
|
+
payloadFormatIndicator?: boolean;
|
|
73
|
+
messageExpiryInterval?: number;
|
|
74
|
+
contentType?: string;
|
|
75
|
+
responseTopic?: string;
|
|
76
|
+
correlationData?: Buffer;
|
|
77
|
+
userProperties?: UserProperties;
|
|
78
|
+
};
|
|
79
|
+
authPacket?: any;
|
|
80
|
+
manualConnect?: boolean;
|
|
81
|
+
};
|
|
82
|
+
transformWsUrl?: (url: string, options: IClientOptions, client: MqttClient) => string;
|
|
83
|
+
properties?: {
|
|
84
|
+
sessionExpiryInterval?: number;
|
|
85
|
+
receiveMaximum?: number;
|
|
86
|
+
maximumPacketSize?: number;
|
|
87
|
+
topicAliasMaximum?: number;
|
|
88
|
+
requestResponseInformation?: boolean;
|
|
89
|
+
requestProblemInformation?: boolean;
|
|
90
|
+
userProperties?: UserProperties;
|
|
91
|
+
authenticationMethod?: string;
|
|
92
|
+
authenticationData?: Buffer;
|
|
93
|
+
};
|
|
94
|
+
messageIdProvider?: IMessageIdProvider;
|
|
95
|
+
browserBufferTimeout?: number;
|
|
96
|
+
objectMode?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export interface IClientPublishOptions {
|
|
99
|
+
qos?: QoS;
|
|
100
|
+
retain?: boolean;
|
|
101
|
+
dup?: boolean;
|
|
102
|
+
properties?: {
|
|
103
|
+
payloadFormatIndicator?: boolean;
|
|
104
|
+
messageExpiryInterval?: number;
|
|
105
|
+
topicAlias?: number;
|
|
106
|
+
responseTopic?: string;
|
|
107
|
+
correlationData?: Buffer;
|
|
108
|
+
userProperties?: UserProperties;
|
|
109
|
+
subscriptionIdentifier?: number;
|
|
110
|
+
contentType?: string;
|
|
111
|
+
};
|
|
112
|
+
cbStorePut?: StorePutCallback;
|
|
113
|
+
}
|
|
114
|
+
export interface IClientSubscribeOptions {
|
|
115
|
+
qos: QoS;
|
|
116
|
+
nl?: boolean;
|
|
117
|
+
rap?: boolean;
|
|
118
|
+
rh?: number;
|
|
119
|
+
properties?: {
|
|
120
|
+
subscriptionIdentifier?: number;
|
|
121
|
+
userProperties?: UserProperties;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
export interface IClientSubscribeProperties {
|
|
125
|
+
properties?: {
|
|
126
|
+
subscriptionIdentifier?: number;
|
|
127
|
+
userProperties?: UserProperties;
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
export interface IClientReconnectOptions {
|
|
131
|
+
incomingStore?: Store;
|
|
132
|
+
outgoingStore?: Store;
|
|
133
|
+
}
|
|
134
|
+
export interface ISubscriptionGrant {
|
|
135
|
+
topic: string;
|
|
136
|
+
qos: QoS | number;
|
|
137
|
+
nl?: boolean;
|
|
138
|
+
rap?: boolean;
|
|
139
|
+
rh?: number;
|
|
140
|
+
}
|
|
141
|
+
export interface ISubscriptionRequest extends IClientSubscribeProperties {
|
|
142
|
+
topic: string;
|
|
143
|
+
qos: QoS;
|
|
144
|
+
nl?: boolean;
|
|
145
|
+
rap?: boolean;
|
|
146
|
+
rh?: number;
|
|
147
|
+
}
|
|
148
|
+
export interface ISubscriptioOptions extends IClientSubscribeProperties {
|
|
149
|
+
qos: QoS;
|
|
150
|
+
nl?: boolean;
|
|
151
|
+
rap?: boolean;
|
|
152
|
+
rh?: number;
|
|
153
|
+
}
|
|
154
|
+
export type ISubscriptionMap = {
|
|
155
|
+
[topic: string]: ISubscriptioOptions;
|
|
156
|
+
} & {
|
|
157
|
+
resubscribe?: boolean;
|
|
158
|
+
};
|
|
159
|
+
export type OnConnectCallback = (packet: IConnackPacket) => void;
|
|
160
|
+
export type OnDisconnectCallback = (packet: IDisconnectPacket) => void;
|
|
161
|
+
export type ClientSubscribeCallback = (err: Error | null, granted: ISubscriptionGrant[]) => void;
|
|
162
|
+
export type OnMessageCallback = (topic: string, payload: Buffer, packet: IPublishPacket) => void;
|
|
163
|
+
export type OnPacketCallback = (packet: Packet) => void;
|
|
164
|
+
export type OnCloseCallback = () => void;
|
|
165
|
+
export type OnErrorCallback = (error: Error | ErrorWithReasonCode) => void;
|
|
166
|
+
export type PacketCallback = (error?: Error, packet?: Packet) => any;
|
|
167
|
+
export type CloseCallback = (error?: Error) => void;
|
|
168
|
+
export interface MqttClientEventCallbacks {
|
|
169
|
+
connect: OnConnectCallback;
|
|
170
|
+
message: OnMessageCallback;
|
|
171
|
+
packetsend: OnPacketCallback;
|
|
172
|
+
packetreceive: OnPacketCallback;
|
|
173
|
+
disconnect: OnDisconnectCallback;
|
|
174
|
+
error: OnErrorCallback;
|
|
175
|
+
close: OnCloseCallback;
|
|
176
|
+
end: VoidCallback;
|
|
177
|
+
reconnect: VoidCallback;
|
|
178
|
+
offline: VoidCallback;
|
|
179
|
+
outgoingEmpty: VoidCallback;
|
|
180
|
+
}
|
|
181
|
+
export default class MqttClient extends TypedEventEmitter<MqttClientEventCallbacks> {
|
|
182
|
+
connected: boolean;
|
|
183
|
+
disconnecting: boolean;
|
|
184
|
+
disconnected: boolean;
|
|
185
|
+
reconnecting: boolean;
|
|
186
|
+
incomingStore: Store;
|
|
187
|
+
outgoingStore: Store;
|
|
188
|
+
options: IClientOptions;
|
|
189
|
+
queueQoSZero: boolean;
|
|
190
|
+
_reconnectCount: number;
|
|
191
|
+
log: (...args: any[]) => void;
|
|
192
|
+
messageIdProvider: IMessageIdProvider;
|
|
193
|
+
pingResp: boolean;
|
|
194
|
+
outgoing: Record<number, {
|
|
195
|
+
volatile: boolean;
|
|
196
|
+
cb: (err: Error, packet?: Packet) => void;
|
|
197
|
+
}>;
|
|
198
|
+
messageIdToTopic: Record<number, string[]>;
|
|
199
|
+
noop: (error?: any) => void;
|
|
200
|
+
pingTimer: any;
|
|
201
|
+
stream: IStream;
|
|
202
|
+
queue: {
|
|
203
|
+
packet: Packet;
|
|
204
|
+
cb: PacketCallback;
|
|
205
|
+
}[];
|
|
206
|
+
private streamBuilder;
|
|
207
|
+
private _resubscribeTopics;
|
|
208
|
+
private connackTimer;
|
|
209
|
+
private reconnectTimer;
|
|
210
|
+
private _storeProcessing;
|
|
211
|
+
private _packetIdsDuringStoreProcessing;
|
|
212
|
+
private _storeProcessingQueue;
|
|
213
|
+
private _firstConnection;
|
|
214
|
+
private topicAliasRecv;
|
|
215
|
+
private topicAliasSend;
|
|
216
|
+
private _deferredReconnect;
|
|
217
|
+
private connackPacket;
|
|
218
|
+
static defaultId(): string;
|
|
219
|
+
constructor(streamBuilder: StreamBuilder, options: IClientOptions);
|
|
220
|
+
handleAuth(packet: IAuthPacket, callback: PacketCallback): void;
|
|
221
|
+
handleMessage(packet: IPublishPacket, callback: DoneCallback): void;
|
|
222
|
+
private _nextId;
|
|
223
|
+
getLastMessageId(): number;
|
|
224
|
+
connect(): this;
|
|
225
|
+
publish(topic: string, message: string | Buffer): MqttClient;
|
|
226
|
+
publish(topic: string, message: string | Buffer, callback?: DoneCallback): MqttClient;
|
|
227
|
+
publish(topic: string, message: string | Buffer, opts?: IClientPublishOptions, callback?: DoneCallback): MqttClient;
|
|
228
|
+
subscribe(topicObject: string | string[] | ISubscriptionMap): MqttClient;
|
|
229
|
+
subscribe(topicObject: string | string[] | ISubscriptionMap, callback?: ClientSubscribeCallback): MqttClient;
|
|
230
|
+
subscribe(topicObject: string | string[] | ISubscriptionMap, opts?: IClientSubscribeOptions | IClientSubscribeProperties): MqttClient;
|
|
231
|
+
subscribe(topicObject: string | string[] | ISubscriptionMap, opts?: IClientSubscribeOptions | IClientSubscribeProperties, callback?: ClientSubscribeCallback): MqttClient;
|
|
232
|
+
unsubscribe(topic: string | string[]): MqttClient;
|
|
233
|
+
unsubscribe(topic: string | string[], opts?: IClientSubscribeOptions): MqttClient;
|
|
234
|
+
unsubscribe(topic: string | string[], callback?: PacketCallback): MqttClient;
|
|
235
|
+
unsubscribe(topic: string | string[], opts?: IClientSubscribeOptions, callback?: PacketCallback): MqttClient;
|
|
236
|
+
end(cb?: DoneCallback): MqttClient;
|
|
237
|
+
end(force?: boolean): MqttClient;
|
|
238
|
+
end(opts?: Partial<IDisconnectPacket>, cb?: DoneCallback): MqttClient;
|
|
239
|
+
end(force?: boolean, cb?: DoneCallback): MqttClient;
|
|
240
|
+
end(force?: boolean, opts?: Partial<IDisconnectPacket>, cb?: DoneCallback): MqttClient;
|
|
241
|
+
removeOutgoingMessage(messageId: number): MqttClient;
|
|
242
|
+
reconnect(opts?: Pick<IClientOptions, 'incomingStore' | 'outgoingStore'>): MqttClient;
|
|
243
|
+
private _flushVolatile;
|
|
244
|
+
private _flush;
|
|
245
|
+
private _removeTopicAliasAndRecoverTopicName;
|
|
246
|
+
private _checkDisconnecting;
|
|
247
|
+
private _reconnect;
|
|
248
|
+
private _setupReconnect;
|
|
249
|
+
private _clearReconnect;
|
|
250
|
+
private _cleanUp;
|
|
251
|
+
private _storeAndSend;
|
|
252
|
+
private _applyTopicAlias;
|
|
253
|
+
private _noop;
|
|
254
|
+
private _writePacket;
|
|
255
|
+
private _sendPacket;
|
|
256
|
+
private _storePacket;
|
|
257
|
+
private _setupPingTimer;
|
|
258
|
+
private _shiftPingInterval;
|
|
259
|
+
private _checkPing;
|
|
260
|
+
private _resubscribe;
|
|
261
|
+
private _onConnect;
|
|
262
|
+
private _invokeStoreProcessingQueue;
|
|
263
|
+
private _invokeAllStoreProcessingQueue;
|
|
264
|
+
private _flushStoreProcessingQueue;
|
|
265
|
+
private _removeOutgoingAndStoreMessage;
|
|
266
|
+
}
|