private void handleQueueMemberEvent ( QueueMemberEvent event ) { final AsteriskQueueImpl queue = getInternalQueueByName ( event . getQueue ( ) ) ; if ( queue == null ) { logger . error ( "Ignored QueueEntryEvent for unknown queue " + event . getQueue ( ) ) ; return ; } AsteriskQueueMemberImpl member = queue . getMember ( event . getLocation ( ) ) ; if ( member == null ) { member = new AsteriskQueueMemberImpl ( server , queue , event . getLocation ( ) , QueueMemberState . valueOf ( event . getStatus ( ) ) , event . getPaused ( ) , event . getPenalty ( ) , event . getMembership ( ) , event . getCallsTaken ( ) , event . getLastCall ( ) ) ; queue . addMember ( member ) ; } else { manageQueueMemberChange ( queue , member , event ) ; } }
Called during initialization to populate the members of the queues .