Beispiel #1
0
        static void Main(string[] args)
        {
            PresenceServerConfiguration config = new PresenceServerConfiguration
            {
                Login          = "******",
                Password       = "******",
                PrimaryAddress = "cup.host.here",
                UseHttp        = true
            };

            PresenceConnector conn = new PresenceConnector(config);

            conn.Init();

            //if (conn.StartTest2())
            //{
            //    Console.WriteLine("Press enter to exit");
            //    Console.ReadLine();
            //    conn.EndTest2();
            //}

            conn.Test();
        }
Beispiel #2
0
 public PresenceConnector(PresenceServerConfiguration configuration)
 {
     this.configuration = configuration;
     //callbackServer = new SimpleWebServer.WebServer(SendHttpResponse, callbckServerAddress);
 }