public interface IClientChannelSinkStack : IClientResponseChannelSinkStack
|
During a synchronous call, the IClientChannelSink.ProcessMessage method is called when a message is outbound to the server. Each sink in the sink chain calls the IClientChannelSink.ProcessMessage method on the next sink until the call reaches the Transport Sink at the end of the chain. From there the message is transported to the server.
When the formatter sink is called through the IMessageSink.AsyncProcessMessage method, it dispatches the call asynchronously by calling IClientChannelSink.AsyncProcessRequest on the next channel sink. A stack of reply sinks is needed to process the response. Any sink that wants to process the response needs to push itself to the client channel sink stack inside of IClientChannelSink.AsyncProcessRequest.
Pop | Pops the information associated with all the sinks from the sink stack up to and including the specified sink. |
Push | Pushes the specified sink and information associated with it onto the sink stack. |
Hierarchy:
object Pop( |
sink
void Push( |
sink
state