|
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Channels
{
// All implementations of this interface are required to be thread-safe
internal interface IRequestReplyCorrelator
{
// throws if another object of the same type has been added for the same message
// null is not a valid value for state.
void Add<T>(Message request, T state);
// returns null if no state is found.
T Find<T>(Message reply, bool remove);
}
}
|