エージェント コール シーケンス

通常、カスタム エージェントは、以下の順序でエージェント API 関数をコールします。
casso126jjp
通常、カスタム エージェントは、以下の順序でエージェント API 関数をコールします。
Sm_AgentApi_GetConfig() // Required with central host configuration
Sm_AgentApi_Init()
Sm_AgentApi_SetAgentInstanceInfo() For agent discovery (12.5 agents and later) 
Sm_AgentApi_SetDefaultAgentId() // Central host configuration only
Sm_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()