List < ConnectionListener > getConnectionListeners ( ConnectionManager cm ) { if ( cmToCl == null ) return Collections . unmodifiableList ( Collections . emptyList ( ) ) ; List < ConnectionListener > l = cmToCl . get ( cm ) ; if ( l == null ) l = Collections . emptyList ( ) ; return Collections . unmodifiableList ( l ) ; }
Get the connection listeners for a connection manager