Retrycount – Echelon OpenLNS User Manual

Page 223

Advertising
background image

OpenLNS Programmer's Reference

186

RetryCount

Summary

Sets the maximum number of times to resend messages sent

with the request/response, unacknowledged/repeat, or

acknowledged messaging services. This also sets the retry

count for polling.
You can set the service type for a connection by writing to the

ServiceType property of the ConnectDescTemplate object.

If the acknowledged (lcaSvcAckd) or request/response

(lcaSvcRequest) service types are selected, the retry

count sets the number of retries to send when no

acknowledgment of (or response to) the original message

is received. You can set the interval for these retries by

writing to the TransmitTimer property of the

ConnectDescTemplate object.

If the unacknowledged/repeat (lcaSvcUnackdRpt)

service type is selected, the retry count sets the number

of repeats to send for each network management

message. You can set the interval for the repeat

messages by writing to the RepeatTimer property of the

ConnectDescTemplate object.

Note: In the ConnectDescTemplate object, the value of this

property applies to all permanent monitor and control

messages sent by connections using that template. However,

to set the retry count for monitor and control messages for

temporary monitor sets, you need to use the DsRetryCount

property of the System object.

Availability

Local, full, and lightweight clients.

Syntax

retryCountValue = object.RetryCount

Element

Description

retryCountValue

The retry count value. The default

value is calculated based on network

topology, and the property has a range

of 0-15.
This property will only be used for a

ConnectDescTemplate

object if the

lcaConnPropsRetryCount option is

set in the

ConnectDescTemplate

object’s

PropertyOptions

property.

object

The

ConnectDescTemplate

or System

object to be acted on.

Data Type

Integer.

Read/Write

Read/write.

Added to API

Prior to LNS Release 3.0.

Advertising