AmiSession::sendUnsolicitedMsg()
Method
Declaration
AmiStatus sendUnsolicitedMsg(
ami_AlertType type,
const char * text,
int id) const;
Purpose
Sends an unsolicited message to the monitoring agent.
Remarks
An unsolicited message is an application information, warning, or error message that is sent from the managed application directly to the manager (TIBCO Hawk agent).
Parameters
Parameter |
Description |
|
Alert message type (information, warning, or error). |
|
A text message describing the alert condition. |
|
An arbitrary identification number defined by the application. |