Example #1
0
        protected virtual void OnDisconnected(ClientDisconnectedEventArgs e)
        {
            var handler = Disconnected;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
 protected virtual void OnDisconnected(ClientDisconnectedEventArgs e)
 {
     var handler = Disconnected;
     if (handler != null)
         handler (this, e);
 }
Example #3
0
		protected override void OnDisconnected (ClientDisconnectedEventArgs e)
		{
			base.OnDisconnected (e);

			Persona.Status = Status.Offline;

			Task.Run (() => Reconnect());
		}