OpenHiva::Publisher::Ready

Description

Checks whether Publisher is working.

Prototype

bool OpenHiva::Publisher::Ready()

Parameters

None

Returns

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

Usage

The interface checks whether Publisher is valid. If Publisher is invalid, no message will be published.

Precautions

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