question: change state if agent logs out . 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 handleAgentCalledEvent concode_elem_sep void handleAgentConnectEvent concode_elem_sep void initialize concode_elem_sep Collection<AsteriskAgent> getAgents concode_elem_sep void handleAgentLoginEvent
target: void function ( AgentLogoffEvent arg0 ) { AsteriskAgentImpl loc0 = getAgentByAgentId ( "srini_string" + arg0 . getAgent ( ) ) ; if ( loc0 == null ) { logger . error ( "srini_string" + arg0 . getAgent ( ) + "srini_string" + agents . values ( ) . toString ( ) ) ; return ; } loc0 . updateState ( AgentState . AGENT_LOGGEDOFF ) ; }