Esempio n. 1
0
        public override void NetLogoutHandler(NetLogout data)
        {
            base.NetLogoutHandler(data);

            if (Client.IsConnectedAndReady)
            {
                Client.Disconnect();
            }
        }
Esempio n. 2
0
 /// <summary>
 // This method is executed when using this.Publish(new NetLogout())
 /// </summary>
 public virtual void NetLogoutHandler(NetLogout data)
 {
     // Process the commands information.  Also, you can publish new events by using the line below.
     // this.Publish(new AnotherEvent())
 }