Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
.NET 11
ASP.Net 11
#ASP.Net 11
WCF 11
#DOTNET 11

Archive · View All
September 2011 4
October 2011 3
November 2011 2
February 2012 1
December 2011 1
January 2012 1
August 2011 1

Ganesh Divekar's Blog

WCF # 11–WCF Channel Objects [WCF Channel Listeners,WCF Factories]

Dec 20 2011 11:23AM by Ganesh Divekar   

Hi Geeks,

In our last post Channel shapes and Communication Patterns we saw how channels are used to transform message from client to server and vice versa.

Today we will see Channel Objects and how they work .

There are three categories of channel objects

1) Channel

2) Channel Listeners (Responsible for server side communication)

3) Channel Factory ((Responsible for client side communication))

 

1) Channels work as interface between the application and Channel Stack For more on channel stack see Channels and Channel Stack.

2) Channel listeners form the base for server side communication.

    * They are responsible for listening for incoming messages, creating channel
       stacks, and providing a reference to the top of the stack to applications

    * It is responsible for creating channel stack at receiver end.

    * They receive messages from either the transport channel or the channel below in
     the channel stack

Note - Most developers will not work with channel listeners directly. They will use the ServiceHost class to host services, which uses a channel listener to listen for messages

 

3) Channel Factory

* A channel factory creates a channel for sending messages and maintains
ownership of the channels it creates.

* These channels are responsible for getting the message from the layer above, performing whatever processing is necessary, then sending the message to the layer below.

Note - Most developers will never use a channel factory directly. Instead, they will use a class derived from ClientBase<> which is typically generated from svcutil.exe or Add Service Reference in Visual Studio.

Difference between channel listeners and channel factories

channel factories are responsible for closing down all associated channels;channel listeners are not. 

This distinction was made so that channel listeners could be shut down independent of their channels.

Hope this will help you.

Thank You.

Tags: #DOTNET, WCF, #ASP.Net, ASP.Net, .NET,


Ganesh Divekar
160 · 1% · 298
1
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

"WCF # 11–WCF Channel Objects [WCF Channel Listeners,WCF Factories]" rated 5 out of 5 by 1 readers
WCF # 11–WCF Channel Objects [WCF Channel Listeners,WCF Factories] , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]