void addMember ( AsteriskQueueMemberImpl member ) { synchronized ( members ) { // Check if member already exists if ( members . containsValue ( member ) ) { return ; } // If not, add the new member. logger . info ( "Adding new member to the queue " + getName ( ) + ": " + member . toString ( ) ) ; members . put ( member . getLocation ( ) , member ) ; } fireMemberAdded ( member ) ; }
Add a new member to this queue .