Methods
accept
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:451
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:457
Parameters
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:528
Parameters
sessionPresent: boolean
properties: any
auth
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:291
autoKeepAlive
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:338
Parameters
clientIdentifier
clientIdentifier( ) : string
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:287
Returns string
close
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:261
Returns void
closeHandler
closeHandler( handler: ( ( res: void ) => void ) | Handler < void > ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:441
Parameters
handler: ( ( res: void ) => void ) | Handler < void >
connectProperties
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:522
Returns any
disconnect
disconnect( code: MqttDisconnectReasonCode , properties: any ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:576
Parameters
code: MqttDisconnectReasonCode
properties: any
disconnectHandler
disconnectHandler( handler: ( ( res: void ) => void ) | Handler < void > ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:357
Parameters
handler: ( ( res: void ) => void ) | Handler < void >
disconnectMessageHandler
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:363
Parameters
exceptionHandler
exceptionHandler( handler: ( ( res: Throwable ) => void ) | Handler < Throwable > ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:446
Parameters
handler: ( ( res: Throwable ) => void ) | Handler < Throwable >
httpHeaders
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:278
Returns MultiMap
httpRequestURI
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:283
Returns string
isAutoKeepAlive
isAutoKeepAlive( ) : boolean
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:342
Returns boolean
isCleanSession
isCleanSession( ) : boolean
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:307
Returns boolean
isConnected
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:346
Returns boolean
isPublishAutoAck
isPublishAutoAck( ) : boolean
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:333
Returns boolean
isSsl
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:273
Returns boolean
isSubscriptionAutoAck
isSubscriptionAutoAck( ) : boolean
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:324
Returns boolean
keepAliveTimeSeconds
keepAliveTimeSeconds( ) : number
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:311
Returns number
lastMessageId
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:315
Returns number
localAddress
localAddress( ) : SocketAddress
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:269
Returns SocketAddress
pingHandler
pingHandler( handler: ( ( res: void ) => void ) | Handler < void > ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:436
Parameters
handler: ( ( res: void ) => void ) | Handler < void >
pong
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:518
protocolName
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:303
Returns string
protocolVersion
protocolVersion( ) : number
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:299
Returns number
publish
publish( topic: string , payload: Buffer , qosLevel: any , isDup: boolean , isRetain: boolean ) : PromiseLike < number >
publish( topic: string , payload: Buffer , qosLevel: any , isDup: boolean , isRetain: boolean , publishSentHandler: ( ( res: AsyncResult < number > ) => void ) | Handler < AsyncResult < number > > ) : MqttEndpoint
publish( topic: string , payload: Buffer , qosLevel: any , isDup: boolean , isRetain: boolean , messageId: number ) : PromiseLike < number >
publish( topic: string , payload: Buffer , qosLevel: any , isDup: boolean , isRetain: boolean , messageId: number , publishSentHandler: ( ( res: AsyncResult < number > ) => void ) | Handler < AsyncResult < number > > ) : MqttEndpoint
publish( topic: string , payload: Buffer , qosLevel: any , isDup: boolean , isRetain: boolean , messageId: number , properties: any ) : PromiseLike < number >
publish( topic: string , payload: Buffer , qosLevel: any , isDup: boolean , isRetain: boolean , messageId: number , properties: any , publishSentHandler: ( ( res: AsyncResult < number > ) => void ) | Handler < AsyncResult < number > > ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:498
Parameters
topic: string
payload: Buffer
qosLevel: any
isDup: boolean
isRetain: boolean
Returns PromiseLike < number >
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:503
Parameters
topic: string
payload: Buffer
qosLevel: any
isDup: boolean
isRetain: boolean
publishSentHandler: ( ( res: AsyncResult < number > ) => void ) | Handler < AsyncResult < number > >
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:508
Parameters
topic: string
payload: Buffer
qosLevel: any
isDup: boolean
isRetain: boolean
messageId: number
Returns PromiseLike < number >
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:513
Parameters
topic: string
payload: Buffer
qosLevel: any
isDup: boolean
isRetain: boolean
messageId: number
publishSentHandler: ( ( res: AsyncResult < number > ) => void ) | Handler < AsyncResult < number > >
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:566
Parameters
topic: string
payload: Buffer
qosLevel: any
isDup: boolean
isRetain: boolean
messageId: number
properties: any
Returns PromiseLike < number >
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:571
Parameters
topic: string
payload: Buffer
qosLevel: any
isDup: boolean
isRetain: boolean
messageId: number
properties: any
publishSentHandler: ( ( res: AsyncResult < number > ) => void ) | Handler < AsyncResult < number > >
publishAcknowledge
publishAcknowledge( publishMessageId: number ) : MqttEndpoint
publishAcknowledge( publishMessageId: number , reasonCode: MqttPubAckReasonCode , properties: any ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:478
Parameters
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:546
Parameters
publishMessageId: number
reasonCode: MqttPubAckReasonCode
properties: any
publishAcknowledgeHandler
publishAcknowledgeHandler( handler: ( ( res: number ) => void ) | Handler < number > ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:387
Parameters
handler: ( ( res: number ) => void ) | Handler < number >
publishAcknowledgeMessageHandler
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:393
Parameters
publishAutoAck
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:329
Parameters
isPublishAutoAck: boolean
publishComplete
publishComplete( publishMessageId: number ) : MqttEndpoint
publishComplete( publishMessageId: number , reasonCode: MqttPubCompReasonCode , properties: any ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:493
Parameters
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:561
Parameters
publishMessageId: number
reasonCode: MqttPubCompReasonCode
properties: any
publishCompletionHandler
publishCompletionHandler( handler: ( ( res: number ) => void ) | Handler < number > ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:423
Parameters
handler: ( ( res: number ) => void ) | Handler < number >
publishCompletionMessageHandler
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:429
Parameters
publishHandler
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:381
Parameters
publishReceived
publishReceived( publishMessageId: number ) : MqttEndpoint
publishReceived( publishMessageId: number , reasonCode: MqttPubRecReasonCode , properties: any ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:483
Parameters
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:551
Parameters
publishMessageId: number
reasonCode: MqttPubRecReasonCode
properties: any
publishReceivedHandler
publishReceivedHandler( handler: ( ( res: number ) => void ) | Handler < number > ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:399
Parameters
handler: ( ( res: number ) => void ) | Handler < number >
publishReceivedMessageHandler
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:405
Parameters
publishRelease
publishRelease( publishMessageId: number ) : MqttEndpoint
publishRelease( publishMessageId: number , reasonCode: MqttPubRelReasonCode , properties: any ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:488
Parameters
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:556
Parameters
publishMessageId: number
reasonCode: MqttPubRelReasonCode
properties: any
publishReleaseHandler
publishReleaseHandler( handler: ( ( res: number ) => void ) | Handler < number > ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:411
Parameters
handler: ( ( res: number ) => void ) | Handler < number >
publishReleaseMessageHandler
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:417
Parameters
reject
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:463
Parameters
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:534
Parameters
returnCode: any
properties: any
remoteAddress
remoteAddress( ) : SocketAddress
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:265
Returns SocketAddress
setClientIdentifier
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:351
Parameters
subscribeAcknowledge
subscribeAcknowledge( subscribeMessageId: number , grantedQoSLevels: any ) : MqttEndpoint
subscribeAcknowledge( subscribeMessageId: number , reasonCodes: MqttSubAckReasonCode , properties: any ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:468
Parameters
subscribeMessageId: number
grantedQoSLevels: any
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:539
Parameters
subscribeMessageId: number
reasonCodes: MqttSubAckReasonCode
properties: any
subscribeHandler
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:369
Parameters
subscriptionAutoAck
subscriptionAutoAck( isSubscriptionAutoAck: boolean ) : void
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:320
Parameters
isSubscriptionAutoAck: boolean
Returns void
unsubscribeAcknowledge
unsubscribeAcknowledge( unsubscribeMessageId: number ) : MqttEndpoint
unsubscribeAcknowledge( unsubscribeMessageId: number , reasonCodes: MqttUnsubAckReasonCode , properties: any ) : MqttEndpoint
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:473
Parameters
unsubscribeMessageId: number
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:544
Parameters
unsubscribeMessageId: number
reasonCodes: MqttUnsubAckReasonCode
properties: any
unsubscribeHandler
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:375
Parameters
will
Defined in io.vertx/vertx-mqtt/target/npm/index.d.ts:295
Represents an MQTT endpoint for point-to-point communication with the remote MQTT client