예제 #1
0
        protected virtual void OnInfo(String info_str)
        {
            if (this.Info == null)
            {
                return;
            }
            NetErr err = new NetErr(info_str);

            this.Info(this, err);
        }
예제 #2
0
        protected virtual void OnConnectFailed(Exception e, System.EventArgs eventArgs)
        {
            if (this.ConnectFailed == null)
            {
                return;
            }
            NetErr err = new NetErr("error" + e.Message);

            this.ConnectFailed(this, err);
        }
예제 #3
0
        protected virtual void OnError(String err_str)
        {
            if (this.Error == null)
            {
                return;
            }
            NetErr err = new NetErr(err_str);

            this.Error(this, err);
        }