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