1 //---------------------------------------------------------------- 2 // Copyright (c) Microsoft Corporation. All rights reserved. 3 //---------------------------------------------------------------- 4 5 namespace System.ServiceModel.Routing 6 { 7 using System; 8 using System.ServiceModel; 9 using System.ServiceModel.Channels; 10 11 [ServiceContract(Namespace = RoutingUtilities.RoutingNamespace, SessionMode = SessionMode.Required)] 12 public interface ISimplexSessionRouter 13 { 14 [OperationContract(AsyncPattern = true, IsOneWay = true, Action = "*")] BeginProcessMessage(Message message, AsyncCallback callback, object state)15 IAsyncResult BeginProcessMessage(Message message, AsyncCallback callback, object state); 16 EndProcessMessage(IAsyncResult result)17 void EndProcessMessage(IAsyncResult result); 18 } 19 } 20