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

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

            RequestAuth(CurrentServerInfo.Password);
        }