OpenHiva::Subscriber::Ready

Description

Checks whether Subscriber is working.

Prototype

bool OpenHiva::Subscriber::Ready()

Parameters

None

Returns

The return value is of the Boolean type. If the value is true, the Subscriber status is normal. Otherwise, the status is abnormal.

Usage

The interface checks whether Subscriber is valid. If Subscriber is invalid, it does not subscribe to messages.

Precautions

  • Reentrant, synchronous interface.
  • If Subscriber is not initialized or Subscriber is in the exit state, false is returned.