AsyncWcfLib

ActorOutput Methods

The methods of the ActorOutput class are listed below. For a complete list of ActorOutput class members, see the ActorOutput Members topic.

Public Instance Methods

ClockSecondsPassed (inherited from ActorPort) Check if time has passed.
Disconnect Shutdown the outgoing connection. Send a disconnect message to the partner.
Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
LinkOutputTo Link output to application-internal service.
LinkOutputToRemoteServiceOverloaded. Link output to remote service. Look for the service Uri at WcfRouter on local host. WcfRouter may have synchronized its service register with peer routers on other hosts.
PostInput (inherited from ActorPort) Used by the library to post a request or response message to the input of this partner. May be called on any thread. Usage: Internal: Post a message into this partners input queue. Serviceside: Sender.PostInput() sends a response from client-stub to the remote client. Clientside: Post a response into this clients input queue.
SendOutOverloaded. Send a request message to the partner on the outgoing connection. At least a WcfIdleMessage will asynchronously be received through 'PostInput', when the partner has processed the request. Usage: Clientside: Send a request to the connected remote service. Internal: Send a message to the connected partner running on another thread synchronization context. Serviceside: Sender.SendOut() sends a request from client-proxy to the internal service.
StartClockSeconds (inherited from ActorPort) Start the timer. Use ClockSecondsPassed() to check whether time has passed.
ToString (inherited from ActorPort)Overloaded. Trace or display status info
TryConnect 'TryConnect' opens the outgoing connection to the previously linked partner. The method is accessible by the owner of this ActorOutput object only. No interface exposes the method. TryConnect picks up the synchronization context and must be called on the sending thread only! The connect-process runs asynchronous and may involve an address lookup at the WcfRouter. A WcfPartnerMessage is received, after the connection has been established. A WcfErrorMessage is received, when the partner is not reachable.

Protected Instance Methods

Finalize (inherited from Object)
MemberwiseClone (inherited from Object)
OnConnectDisconnect (inherited from ActorPort) Message is passed to users connect/disconnect event handler, may be overloaded and call a WcfMessageHandler<TSC>

See Also

ActorOutput Class | SourceForge.AsyncWcfLib Namespace