void function ( ) { ResponseEvents loc0 ; loc0 = server . sendEventGeneratingAction ( new AgentsAction ( ) ) ; for ( ManagerEvent loc1 : loc0 . getEvents ( ) ) { if ( loc1 instanceof AgentsEvent ) { logger . info ( loc1 ) ; handleAgentsEvent ( ( AgentsEvent ) loc1 ) ; } } }
retrieves all agents registered at asterisk server by sending an agentsaction . concode_field_sep AsteriskServerImpl server concode_elem_sep Map<String,AsteriskAgentImpl> ringingAgents concode_elem_sep Log logger concode_elem_sep Map<String,AsteriskAgentImpl> agents concode_field_sep void handleAgentCallbackLoginEvent concode_elem_sep void updateAgentState concode_elem_sep void handleAgentsEvent concode_elem_sep void handleAgentCallbackLogoffEvent concode_elem_sep void updateRingingAgents concode_elem_sep void addAgent concode_elem_sep void disconnected concode_elem_sep AsteriskAgentImpl getAgentByAgentId concode_elem_sep void handleAgentCompleteEvent concode_elem_sep void handleAgentLogoffEvent concode_elem_sep void handleAgentCalledEvent concode_elem_sep void handleAgentConnectEvent concode_elem_sep Collection<AsteriskAgent> getAgents concode_elem_sep void handleAgentLoginEvent