Beispiel #1
0
 /// <summary>
 /// チャンネルIDを指定してチャンネルを初期化します
 /// </summary>
 /// <param name="peercast">所属するPeerCastオブジェクト</param>
 /// <param name="channel_id">チャンネルID</param>
 protected Channel(PeerCast peercast, NetworkType network, Guid channel_id)
 {
     this.PeerCast  = peercast;
     this.Network   = network;
     this.ChannelID = channel_id;
     this.contents  = new ContentCollection(this);
 }
Beispiel #2
0
 /// <summary>
 /// チャンネルIDを指定してチャンネルを初期化します
 /// </summary>
 /// <param name="peercast">所属するPeerCastオブジェクト</param>
 /// <param name="channel_id">チャンネルID</param>
 protected Channel(PeerCast peercast, NetworkType network, Guid channel_id)
 {
     this.PeerCast  = peercast;
     this.Network   = network;
     this.ChannelID = channel_id;
     this.contents  = new ContentCollection(this);
     this.contentSinks.Add(new ChannelEventInvoker(this));
 }
Beispiel #3
0
 /// <summary>
 /// チャンネルIDを指定してチャンネルを初期化します
 /// </summary>
 /// <param name="peercast">所属するPeerCastオブジェクト</param>
 /// <param name="channel_id">チャンネルID</param>
 protected Channel(PeerCast peercast, NetworkType network, Guid channel_id)
 {
     this.PeerCast     = peercast;
     this.Network      = network;
     this.ChannelID    = channel_id;
     this.contents     = new ContentCollection(this);
     this.contentSinks = ImmutableArray <IContentSink> .Empty;
 }