code: @Override
      public void setConnection(RTMPConnection conn) {
          log.trace("Adding connection: {}", conn);
          int id = conn.getId();
          if (id == -1) {
              log.debug("Connection has unsupported id, using session id hash");
              id = conn.getSessionId().hashCode();
          }
          log.debug("Connection id: {} session id hash: {}", conn.getId(), conn.getSessionId().hashCode());
      }
docs: Adds a connection.
  
  @param conn