AsyncWcfLib

WcfReqIdent Members

WcfReqIdent overview

Public Instance Fields

ClientIdIdentifies the client sending the request on the remote service.0=no remote connection or message not sent yet. Id is created by remote service on first connect.
RequestIdRequestId is incremented by WcfAsyncClient for remote connections only. Remote service returns the same number.0=Notification, 11...=remote requests It is used to detect programming errors.
SendId SendId is incremented by WcfAsyncClient for remote connections and remote service on each send operation. It is used to detect missing messages.

Public Instance Properties

CltRcvId Client receiving response: Standardised mark for trace output.
CltSndId Client sending request: Standardised mark for trace output.
Input WcfReqIdent carry a reference to the ActorPort that is receiving the message. Input is the service (input) that is receiving the request, when received on service side. Input is the client (output) that is receiving a response, when received on client side.
IsNotification Notification is sent from service to client without matching request.
IsRequest Request is sent from client to service (new messages are requests by default).
IsResponse Response is sent from service to client as answer to a request.
Message WcfReqIdent carry a reference to the user message. The Message itself may be sent to several internal partners and therefore be referenced by several WcfReqIdents. The message is not a [DataMember], it is sent separatly up to ServiceContract V3.0 and again from 3.1++
Sender WcfReqIdent carry a reference to Sender, after beeing received on client or service side. Sender is a restricted IWcfPartnerInput interface to the partner (or its proxy/stub) that sent the request and will receive the response.
SvcRcvId Service receiving request: Standardised mark for trace output.
SvcSndId Service sending response: Standardised mark for trace output.

Public Instance Methods

Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
SendResponse Respond to a request. SendResponse may be called several times on one request. The responses are added into a WcfNotificationMessage. The individual messages are received on client side. If SendResponse is not called on a request, AsyncWcfLib automatically returns a WcfIdleMessage to the client.
ToString Each message my be printed e.g. to trace.

Protected Instance Methods

Finalize (inherited from Object)
MemberwiseClone (inherited from Object)

See Also

WcfReqIdent Class | SourceForge.AsyncWcfLib Namespace