PeerCastStation.ChannelNotifier.ChannelNotifier C# (CSharp) Method

ChannelNotifier() public method

public ChannelNotifier ( PeerCastApplication app ) : System
app PeerCastStation.Core.PeerCastApplication
return System
    public ChannelNotifier(PeerCastApplication app)
    {
      this.app = app;
      this.messageExpireTimer.Start();
      this.app.PeerCast.ChannelAdded   += (sender, args) => {
        args.Channel.Closed += OnChannelClosed;
      };
      this.app.PeerCast.ChannelRemoved += (sender, args) => {
        args.Channel.Closed -= OnChannelClosed;
      };
    }