Queueposition, Resourcetype – Echelon OpenLNS User Manual

Page 851

Advertising
background image

OpenLNS Programmer's Reference

814

QueuePosition

Summary

Indicates the numbed of transactions that must be started

and completed before this service can be executed.

If the ServiceStatus object's Status property is set to

lcaSrvcQueued, this property will indicate the number of

unstarted transactions that need to be completed before this

one. For example, if this property is set to 0, the service will

start as soon as the current transaction is completed.
If the ServiceStatus object's Status property is set to a

non-zero value, this property has no meaning.

Availability

Local, full, and lightweight clients.

Syntax

queuePos = serviceStatusObject.QueuePosition

Element

Description

queuePos

The queue position of this service.

serviceStatusObject

The ServiceStatus object to be

acted on.

Data Type

Integer.

Read/Write

Read only.

Added to API

LNS Release 3.0.

ResourceType

Summary

Indicates the resource for which the service is waiting

.

If the ServiceStatus object's Status property is set to

lcaSrvcQueued, this property will indicate the number of

unstarted transactions that need to be completed before this

one. For example, if this property is set to 0, the service will

start as soon as the current transaction is completed.
If the ServiceStatus object's Status property is set to a

non-zero value, this property has no meaning.

Availability

Local, full, and lightweight clients.

Syntax

resType = serviceStatusObject.ResourceType

Element

Description

resType

The enumerated value indicating

the resource type.

The possible

values for this property, which are

contained in the ConstResourceType

constant, are as follows:
0 lcaResTransactions
Indicates that the service is waiting

for one or more transactions to

complete before it can execute.
The QueuePosition property

Advertising