beautypg.com

Servicetype – Echelon OpenLNS User Manual

Page 224

background image

OpenLNS Programmer's Reference

187

ServiceType

Summary

Stores the messaging service to be used for the connection.

Note: This property will only be read by the OpenLNS Object

Server if the lcaConnPropsServiceType option is set in

the ConnectDescTemplate object’s PropertyOptions property.

If the lcaConnPropServiceType option is not set, then

OpenLNS Object Server will determine the service type for

connections using the ConnectDescTemplate object by reading

the ServiceType property of the connection’s hub network

variable.

Availability

Local, full, and lightweight clients.

Syntax

serviceTypeValue = object.ServiceType

Element

Description

serviceTypeValue

The service type to be used. The

enumerated values for this element,

which are contained in the

ConstServiceTypes

constant, are as

follows:

0 lcaSvcAckd
Acknowledged messaging service.

The device sends an acknowledgment

message after it has received the

message.
If your application will be sending

messages to large numbers of devices

at once, one of the unacknowledged

messaging services may be desirable,

as the acknowledgment messages may

generate a significant amount of

network traffic.
1 lcaSvcUnackdRpt
Unacknowledged repeat messaging

service. The device does not send

acknowledgment messages; however,

repeat messages are sent to the device

after the initial message is sent to it

to ensure that it reaches its

destination.
You can set the number of repeat

messages to send, and the interval at

which they will be sent, by writing to

the RepeatCount and RepeatTimer

properties.

2 lcaSvcUnackd
Unacknowledged messaging service.

The device does not send