コード例 #1
0
        /// <summary>
        /// Invoke via DispatchUpdate...sends the ChannelChanged update
        /// </summary>
        /// <param name="client">client to invoke on</param>
        protected virtual void SendChannelUpdate(ITVStreamCallback client)
        {
            Channel current = this.Channel;

            if (current != null)
            {
                client.ChannelChanged(current);
            }
        }
コード例 #2
0
 /// <summary>
 /// Invoke via DispatchUpdate...sends the TVModeChanged update
 /// </summary>
 /// <param name="client"></param>
 protected virtual void SendTVModeUpdate(ITVStreamCallback client)
 {
     client.TVModeChanged(this.TVMode);
 }
コード例 #3
0
 public override SessionDescription OpenGraph(ClientConnectRequest clientConnectRequest)
 {
     this.ClientCallback = OperationContext.Current.GetCallbackChannel <ITVStreamCallback>();
     return(base.OpenGraph(clientConnectRequest));
 }