code: @Override
      public RTMPConnection getConnection(int clientId) {
          log.trace("Getting connection by client id: {}", clientId);
          for (RTMPConnection conn : connMap.values()) {
              if (conn.getId() == clientId) {
                  return connMap.get(conn.getSessionId());
              }
          }
          return null;
      }
docs: Returns a connection for a given client id.
  
  @param clientId
  @return connection if found and null otherwise