Exemplo n.º 1
0
        /// <summary>
        /// Called when the link encounters a protocol error.
        /// </summary>
        /// <param name="e">Exception details.</param>
        protected override void OnCtrlLinkError(Protocol.ProtoException e)
        {
            base.OnCtrlLinkError(e);

            if (this.statusReceiver != null)
            {
                this.statusReceiver.CtrlLinkError(this, e);
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Called when the link encounters a protocol error.
 /// </summary>
 /// <remarks>
 /// Default implementation is a no-op; can be used to recover or reconnect on error.
 /// </remarks>
 /// <param name="e">Exception details.</param>
 protected virtual void OnCtrlLinkError(Protocol.ProtoException e)
 {
 }