예제 #1
0
        static void Main(string[] args)
        {
            CallbackHandler call            = new CallbackHandler();
            InstanceContext instanceContext = new InstanceContext(call);
            LHServiceClient client          = new LHServiceClient(instanceContext);

            client.Open();
            Console.WriteLine("Połączono");
            call.setClient(client);
            client.addClient();

            Console.ReadLine();
        }
예제 #2
0
 public void setClient(LHServiceClient client)
 {
     this.host = client;
 }
예제 #3
0
 public void getClient(LHServiceClient client)
 {
     this.client = client;
 }