| Class | Description |
|---|---|
| WcfBasicClientAsync |
Base class of WcfClientAsync to connect to a WCF service. Requests are sent asynchronious. Responses are asynchroniously received on the same thread as the request was sent (only when sent from a thread with message queue (as WinForms), but not when sent from a threadpool-thread). This class uses a auto-generated service reference 'WcfBasicClient'. TSC is the TypeofUserContext in ClientIdent and ServiceIdent. We accept only reference types as TSC. This allows to modify user context when receiving a message. Specify WcfBasicClientAsync<object>, when you do not need the user context. |
| WcfBasicService |
Class used on WCF service side, base of WcfServiceAssistant. Handles and stores all connected clients. |
| WcfPartnerListMessage |
This message contains a list of WcfPartnerMessages. It is used by the routers to exchange informations. |
| WcfServiceAssistant |
Adds the following features to a WCF service: - registered with WcfRouterService (default = 'http://localhost:40000/AsyncWcfLib/RouterService'). - automatic TCP port assignement - automatic handling of the ServiceHost - coordinated shutdown of all ServiceAssistants |
| WcfServiceAssistant.InputDispatcher | The InputDispatcher routes incoming messages by type and sending partner. It dispatches the message to the matching handler method. |
| Interface | Description |
|---|---|
| IWcfBasicContractAsync |
Asynchronous interface, seldom used on service side. similar to the generated client side. |
| IWcfBasicContractSync | Synchronous interface, normally used on service side |
| IWcfBasicPartner | WcfPartners, Services and Clients must implement this interface. It is used for library internal purposes mainly. |
| IWcfDualCallbackContract |
Callback interface, used for service notifications to the client. Needs wsDualHttpBinding. Asynchronous implementation, otherwise service may block, when client has disappeared. |
| IWcfDualContractAsync |
Asynchronous interface with callback, seldom used on service side. Needs wsDualHttpBinding. Similar to the generated client side. |
| IWcfDualContractSync |
Synchronous interface with callback, seldom used on service side. Needs wsDualHttpBinding. |