none
Is there Sample Developed using ASynchronousOutbound DataFlow ? RRS feed

  • Question

  • Hi ,

    Is there any sample developed using WCF LOB ASDK which implements AsyncOutbound or AsyncInbound Dataflow Pattern.

    And what is exact difference between SynchronousOutbound & ASynchronousOutbound , SynchronousInbound & ASynchronousInbound .

     

    Tuesday, July 15, 2008 9:48 AM

Answers

  • When using IOutboundHandler:

    (a) channel.Request call is mapped to IOutboundHandler::Execute

    (b) channel.BeginRequest/channel.EndRequest does the following - a new thread is created, and in that thread, IOutboundHandler::Execute is called.

     

    When using IAsyncOutboundHandler:

    (a) channel.Request is mapped to IAsyncOutboundHandler::Execute

    (b) channel.BeginRequest is mapped to IAsyncOutboundHandler::BeginExecute

    (c) channel.EndRequest is mapped to IAsyncOutboundHandler::EndExecute

     

    Similarly on the inbound, the sync and async calls in the IInputChannel, IReplyChannel are mapped differently to your handlers.

    Tuesday, July 15, 2008 10:39 AM