System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack Interface

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Channels
Summary
Provides the stack functionality for a stack of server response channel sinks.
C# Syntax:
public interface IServerResponseChannelSinkStack
See also:
System.Runtime.Remoting.Channels Namespace

System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack Member List:

Public Methods
AsyncProcessResponse Requests asynchronous processing of a method call on the sinks in the current sink stack.
GetResponseStream Returns the Stream onto which the specified message is to be serialized.

System.Runtime.Remoting.Channels.IServerResponseChannelSinkStack Member Details

Method: AsyncProcessResponse(
   IMessage msg,
   ITransportHeaders headers,
   Stream stream
)
Summary
Requests asynchronous processing of a method call on the sinks in the current sink stack.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
C# Syntax:
void AsyncProcessResponse(
   IMessage msg,
   ITransportHeaders headers,
   Stream stream
);
Parameters:

msg

headers

The headers retrieved from the server response stream.

stream

The stream coming back from the transport sink.

Remarks
This method initializes asynchronous processing on the top sink in the current sink stack. For additional information, see IServerChannelSink.AsyncProcessResponse.

Return to top


Method: GetResponseStream(
   IMessage msg,
   ITransportHeaders headers
)
Summary
Returns the Stream onto which the specified message is to be serialized.
C# Syntax:
Stream GetResponseStream(
   IMessage msg,
   ITransportHeaders headers
);
Parameters:

msg

The message to be serialized onto the requested stream.

headers

The headers retrieved from the server response stream.

Return Value:
The Stream onto which the specified message is to be serialized.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.