using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Remoting.Messaging;
namespace System.Runtime.Remoting.Channels
{
/// Provides the stack functionality for a stack of server response channel sinks.
// Token: 0x020003B0 RID: 944
[ComVisible(true)]
public interface IServerResponseChannelSinkStack
{
/// Requests asynchronous processing of a method call on the sinks in the current sink stack.
/// The response message.
/// The headers retrieved from the server response stream.
/// The stream coming back from the transport sink.
// Token: 0x060025C7 RID: 9671
void AsyncProcessResponse(IMessage msg, ITransportHeaders headers, Stream stream);
/// Returns the onto which the specified message is to be serialized.
/// The onto which the specified message is to be serialized.
/// The message to be serialized onto the requested stream.
/// The headers retrieved from the server response stream.
/// The immediate caller does not have infrastructure permission.
// Token: 0x060025C8 RID: 9672
Stream GetResponseStream(IMessage msg, ITransportHeaders headers);
}
}