PeerCastStation.PCP.PCPYellowPageClient.PostChannelInfo C# (CSharp) Method

PostChannelInfo() private method

private PostChannelInfo ( AtomCollection parent, Channel channel ) : void
parent AtomCollection
channel Channel
return void
    private void PostChannelInfo(AtomCollection parent, Channel channel)
    {
      var atom = new AtomCollection();
      atom.SetChanID(channel.ChannelID);
      atom.SetChanBCID(PeerCast.BroadcastID);
      if (channel.ChannelInfo!=null)  atom.SetChanInfo(channel.ChannelInfo.Extra);
      if (channel.ChannelTrack!=null) atom.SetChanTrack(channel.ChannelTrack.Extra);
      parent.SetChan(atom);
    }