Esempio n. 1
0
 public void CallupOneday(Introduction intro)
 {
     Console.WriteLine("OMG!  Its you, '{0}' at {1}", intro.Name, intro.Timestamp);
 }
Esempio n. 2
0
 public void ExchangeInfo(Introduction echo)
 {
     var channel = _channelFactory.CreateChannel();
     channel.ExchangeInfo(echo);
 }
Esempio n. 3
0
        public void ExchangeInfo(Introduction intro)
        {
            Console.WriteLine("Received intro from {0} on {1}", intro.Name, intro.Timestamp);
            var callbackChannel = OperationContext.Current.GetCallbackChannel<IMeetAndGreetCallback>();

            Thread.Sleep(500);

            callbackChannel.CallupOneday(Introduction.Create("Dad"));
        }