Beispiel #1
0
 public void CallupOneday(Introduction intro)
 {
     Console.WriteLine("OMG!  Its you, '{0}' at {1}", intro.Name, intro.Timestamp);
 }
Beispiel #2
0
 public void ExchangeInfo(Introduction echo)
 {
     var channel = _channelFactory.CreateChannel();
     channel.ExchangeInfo(echo);
 }
Beispiel #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"));
        }