Exemple #1
0
        private void OnClientConnectionStatusCallback(ClientConnectionStatusCallbackArgs e)
        {
            EventHandler <ClientConnectionStatusCallbackArgs> handler = ClientConnectionStatusCallback;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
        private void clientConnectionStatusCallback(int result, int reason, UIntPtr userContextCallback)
        {
            ClientConnectionStatusCallbackArgs connectionStatusCallbackArgs = new ClientConnectionStatusCallbackArgs(result, reason);

            OnClientConnectionStatusCallback(connectionStatusCallbackArgs);
        }