WcfBasicClientAsync Members
WcfBasicClientAsync overview
Public Instance Properties
ClientIdent Detailed information about this client. May be a ActorOutput<TOC> object containing application specific "OutputContext".
IsConnected A client is connected after the ServiceConnectResponse has been received.
IsDisconnected A client is disconnected after construction, after a call to Disconnect() or AbortCommunication()
IsFaulted A client is in Fault state when a connection cannot be kept open or a timeout has passed.
OutputState Gets or sets the state of the outgoing connection. May be called on any thread.
OutstandingResponsesCount Returns the number of requests that have not received a response by the service.
ServiceIdent Detailed information about the connected service. Contains a "UserContext" object for free use by the client application.
Uri Gets the Uri of a linked service.
Public Instance Methods
AbortCommunication Abort all messages, go from any state to Disconnected state.Makes it possible to restart the client with TryConnect.
Disconnect Send Disconnect messages to service if possible . Go from any state to Disconnected state.Makes it possible to restart the client with TryConnect.
Dispose Same as Disconnect.
Equals (inherited from Object )
GetHashCode (inherited from Object )
GetType (inherited from Object )
PostInput Post a request to the input of the remote partner. It will be sent over the network. Called from ClientIdent, when SendOut a message to remote partner.
SendOut Overloaded. the intuitive action is to send the message to remote service.
ToString (inherited from Object )
TraceState Trace internal state of this client
TryConnect Connect or reconnect output to the previously linked partner.
Protected Instance Fields
LastRequestIdReceived The last request id received in a response from the connected service. It is used to calculate outstandig responses.
LastSendIdReceived The last send id received in a response from the connected service. It is used to detect missing messages from a remote service.
m_addressesTried The number of addresses tried to connect already.
m_addressNumber The tried address. 0 = hostname, 1 = first IP address, AddressList.Count = last IP address.
m_boConnecting True, when connecting and not yet connected.
m_boFirstResponseReceived True, when first response from original service received.
m_boTemporaryRouterConn True, when connecting or connected to router, not to the original service.
m_boTimeout Set m_boTimeout to true, when the connect operation fails or some errormessages are received.Sets the client into Fault state.
m_DefaultInputHandlerForApplication The default message handler to use, when connected to the target service.
m_RequestedServiceUri URI of next service to connect, can be the router.
m_RouterHostToLookup The hostname of the router.
m_ServiceNameToLookup The original service name (unique in plant), not the router.
m_TraceConnectBefore True, when traces of the connect process to the target service should be written.
m_WcfClientConfig The plugin provided by the library user or WcfDefault.ClientConfiguration
m_WcfRouterPort The TCP port of the router.
Protected Instance Methods
CheckResponse This function is normally only used internally by OnRequestCompleted. It checks whether the response has to be handled by application code.
DoClientConfiguration Accept the binding configuration provided when linking the ActorOutput or set in WcfDefault.ClientConfiguration.
Finalize (inherited from Object )
GetSetServiceAddress Called before opening a connection. Prepares endpointaddress for tracing.
MemberwiseClone (inherited from Object )
OnWcfNotificationFromService Handling of unexpected notification messages (not requested messages).
See Also
WcfBasicClientAsync Class | SourceForge.AsyncWcfLib.Basic Namespace