エージェント コール シーケンス
通常、カスタム エージェントは、以下の順序でエージェント API 関数をコールします。
casso1283
通常、カスタム エージェントは、以下の順序でエージェント API 関数をコールします。
Sm_AgentApi_GetConfig() // Required with central host configurationSm_AgentApi_Init()Sm_AgentApi_SetAgentInstanceInfo() For agent discovery (12.5 agents and later)Sm_AgentApi_SetDefaultAgentId() // Central host configuration onlySm_AgentApi_DoManagement()Sm_AgentApi_IsProtected()Sm_AgentApi_Login()Sm_AgentApi_Authorize()// . . .// Call other Agent API functions here, including// periodic calling of Sm_AgentApi_DoManagement()Sm_AgentApi_Logout()Sm_AgentApi_Uninit()