IPWorks IoT 2020 Kotlin Edition

Questions / Feedback?

AMQPLink Type

Represents an AMQP link.

Remarks

This type represents an AMQP link.

Fields

Available
Long

The number of messages which this link's sender could send if it had credit for them.

This field returns the number of messages which this link's sender has indicated that it could send if it had the credit to do so.

ChannelName
String?

The channel name this link is using.

This field holds the channel name this link is using.

Credit
Long

The amount of credit currently available to this link's sender.

This field holds the amount of credit currently available to this link's sender. The sender on a link can only send messages if it has non-zero credit.

DeliveryCount
Long

The current delivery count value for this link.

This field holds the current delivery count value for this link.

Name
String?

This link's name.

This field holds this link's name.

ReadyToSend
Boolean

Whether this link is ready to send a message.

This field reflects whether this link is currently ready to send a message or not; it always returns False if Role is lrReceiver (1).

ReceiveMode
AMQPLinkReceiveModes

The receive mode this link is operating in.

This field reflects the receive mode which this link is operating in, if it is a receiver link. (For sender links, this field's value means nothing.) Values can be:

  • lrmAutomatic - Messages will be received automatically
  • lrmFetch - One message will be received after each call to the FetchMessage method.

Refer to ReceiveMode for more information.

Role
Roles

The component's role on this link.

This field reflects which role the component is in for this link. Valid values are:

  • lrSender (0)
  • lrReceiver (1)

Constructors

public constructor()



Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks IoT 2020 Kotlin Edition - Version 20.0 [Build 7941]