linkReceiveMode (property)

The receive mode this link is operating in.

Syntax

- (int)linkReceiveMode:(int)linkIndex;

/* Possible Values */
LRM_AUTOMATIC(0),
LRM_FETCH(1)
public func linkReceiveMode(linkIndex: Int32) throws -> AmqpLinkReceiveModes
public enum AmqpLinkReceiveModes : Int32 { case lrmAutomatic = 0 case lrmFetch = 1 }

Default Value

0

Remarks

The receive mode this link is operating in.

This property reflects the receive mode which this link is operating in, if it is a receiver link. (For sender links, this property'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.

The LinkIndex parameter specifies the index of the item in the array. The size of the array is controlled by the LinkCount property.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 iOS Edition - Version 20.0 [Build 8265]