private void handleChannelInfoResult(RequestType type,String url,String result,int responseCode,String stream){
  if (result == null || responseCode != 200) {
    handleChannelInfoResultError(stream,type,responseCode);
    return;
  }
  ChannelInfo info=parseChannelInfo(result);
  if (info == null) {
    LOGGER.warning("Error parsing channel info: " + result);
    handleChannelInfoResultError(stream,type,responseCode);
    return;
  }
  if (type == RequestType.CHANNEL_PUT) {
    resultListener.putChannelInfoResult(RequestResult.SUCCESS);
  }
  resultListener.receivedChannelInfo(stream,info,RequestResult.SUCCESS);
  cachedChannelInfo.put(stream,info);
  userIDs.channelInfoReceived(info);
}

private void handleChannelInfoResult ( RequestType type , String url , String result , int responseCode , String stream ) { if ( result == null || responseCode != 200 ) { handleChannelInfoResultError ( stream , type , responseCode ) ; return ; } ChannelInfo info = parseChannelInfo ( result ) ; if ( info == null ) { LOGGER . warning ( "Error parsing channel info: " + result ) ; handleChannelInfoResultError ( stream , type , responseCode ) ; return ; } if ( type == RequestType . CHANNEL_PUT ) { resultListener . putChannelInfoResult ( RequestResult . SUCCESS ) ; } resultListener . receivedChannelInfo ( stream , info , RequestResult . SUCCESS ) ; cachedChannelInfo . put ( stream , info ) ; userIDs . channelInfoReceived ( info ) ; }
handle the channelinfo request result , which can also be from changing the channel info .
