@ Override public RTMPConnection getConnectionBySessionId ( String sessionId ) { log . debug ( "Getting connection by session id: {}" , sessionId ) ; if ( connMap . containsKey ( sessionId ) ) { return connMap . get ( sessionId ) ; } else { log . warn ( "Connection not found for {}" , sessionId ) ; if ( log . isTraceEnabled ( ) ) { log . trace ( "Connections ({}) {}" , connMap . size ( ) , connMap . values ( ) ) ; } } return null ; }
Returns a connection for a given session id .