Example #1
0
 private void OnServerConnectionStarting(object sender, ServerConnectionEventArgs args)
 {
     args.ConnectionInfo = CurrentServerInfo;
     if (ServerConnectionStarting != null)
     {
         ServerConnectionStarting(this, args);
     }
 }
Example #2
0
        private void OnServerConnectionDisconnected(object sender, ServerConnectionEventArgs args)
        {
            args.ConnectionInfo = CurrentServerInfo;
            PurgeClient();

            if (ServerConnectionDisconnected != null)
            {
                ServerConnectionDisconnected(this, args);
            }
        }
Example #3
0
        public void OnServerConnectionSucceeded(object sender, ServerConnectionEventArgs args)
        {
            args.ConnectionInfo = CurrentServerInfo;
            if (ServerConnectionSucceeded != null)
            {
                ServerConnectionSucceeded(this, args);
            }

            RequestAuth(CurrentServerInfo.Password);
        }