AsyncWcfLib

ActorInput Methods

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

Public Instance Methods

ClockSecondsPassed (inherited from ActorPort) Check if time has passed.
Disconnect Close the incoming network connection.
DoPeriodicTasksCheck client connection-timeouts, should be called periodically.
Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
LinkInputToNetwork Link this input to the network. Remote clients will be able to connect to this service after Open() has been called. When this method is not called, the service is accessible application internally only.
Open Opens the service for incomming connections (same as TryConnect). The method is accessible only by the owner of this ActorInput object. No interface exposes the method. - Incoming connections from network: Opens a WCF service. Open picks up the synchronization context and must be called on the receiving thread only! A WcfPartnerMessage is received, when the connection is established. The connect-process runs asynchronous and does involve an address registration at the WcfRouter (when RouterClient is not disabled).
PostInputOverloaded. Used internally: Threadsafe enqueue message at the receiving partner. No response is expected.
PostInput (inherited from ActorPort)Overloaded. 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.
PostInputFromOverloaded. Used internally: Threadsafe enqueue message at the receiving partner.
SendOut May not be called.
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

Protected Instance Methods

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

See Also

ActorInput Class | SourceForge.AsyncWcfLib Namespace