public boolean addConnection ( String endpointId , int connectionId ) { boolean added = this . entries . put ( endpointId , connectionId ) ; if ( added && log . isDebugEnabled ( ) ) { int left = this . entries . get ( endpointId ) . size ( ) ; log . debug ( "Call " + getCallIdHex ( ) + " registered connection " + Integer . toHexString ( connectionId ) + " at endpoint " + endpointId + ". Connection count: " + left ) ; } return added ; }
Registers a connection in the call .