AnsweredAssumed Answered

4.x custome agent API behaviour

Question asked by mazvi01 Employee on Feb 12, 2016
Latest reply on Feb 15, 2016 by mazvi01

Hi All,

 

From our documentation (SDK C-library wiki.ca.com) this is the call sequence for a custom agent:

 

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()

 

Could you please assure me that in a 4.x version of custom agent any function DOES NOT call into its body the function Sm_AgentApi_Init?

 

I would be assured that for example INSIDE the Sm_AgentApi_DoManagement (or any other ones) BODY there is NO any call to Sm_AgentApi_Init.

 

Really thanks in advance,

 

Vito

Outcomes