TcpMessaging:onTimeout

Method

Purpose

Returns the number of timeout intervals that have elapsed because of the arrival of the previous message or because of the start of the subscription to this method.

Type

Asynchronous, IMPACT_INFO.

Arguments

 

Name

Type

Description

Topic

String

Message topic.

Timeout Interval

Long

Timeout interval in seconds

Returns

 

Name

Type

Description

Timeout Interval Count

Integer

The count of consecutive timeout intervals that have passed.

The return value is reset to 0 (zero) when a message is received with the specified subject or topic.