21 lines
704 B
C#
21 lines
704 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.ServiceModel;
|
|
using System.ServiceModel.Channels;
|
|
using System.ServiceModel.Description;
|
|
using System.ServiceModel.Dispatcher;
|
|
|
|
namespace System.ServiceModel.Routing
|
|
{
|
|
// I guess there should be [ServiceContract] here.
|
|
[ServiceContract (Namespace = "http://schemas.microsoft.com/netfx/2009/05/routing", SessionMode = SessionMode.Required)]
|
|
public interface IDuplexSessionRouter
|
|
{
|
|
[OperationContract (AsyncPattern = true, IsOneWay = true, Action = "*")]
|
|
IAsyncResult BeginProcessMessage (Message message, AsyncCallback callback, object state);
|
|
|
|
void EndProcessMessage (IAsyncResult result);
|
|
}
|
|
}
|