JoinReceiver Members
Microsoft Robotics Class Reference
The JoinReceiver type exposes the following members.
Constructors
Name | Description | |
---|---|---|
JoinReceiver |
Constructs a Join Receiver, an arbiter that waits for one message per port in any order
|
Methods
Name | Description | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Arbitrate |
Determines if join commit can proceed
(Inherited from JoinReceiverTask.) |
||||||||||||||||||||||||||||||||||
Cleanup() () () () |
Removes individual receiver thunks attached to ports participating in the join
(Overrides ReceiverTask. . :: . .Cleanup() () () ().) |
||||||||||||||||||||||||||||||||||
Cleanup(ITask) |
Returns messages instances attached to the task instance, to the appropriate ports participating in the join
(Overrides JoinReceiverTask. . :: . .Cleanup(ITask).) |
||||||||||||||||||||||||||||||||||
Commit |
Attempts to remove one item per port and complete the join
(Overrides JoinReceiverTask. . :: . .Commit() () () ().) |
||||||||||||||||||||||||||||||||||
Consume |
Consume
(Overrides ReceiverTask. . :: . .Consume(IPortElement).) |
||||||||||||||||||||||||||||||||||
Equals | (Inherited from Object.) | ||||||||||||||||||||||||||||||||||
Evaluate(IPortElement, ITask%) |
Invoked in the context of Port.Post() to examine a message
(Overrides ReceiverTask. . :: . .Evaluate(IPortElement, ITask%).) |
||||||||||||||||||||||||||||||||||
Evaluate(ReceiverTask, ITask%) |
Determines if a commit should be scheduled by checking if all items from ports are available
(Inherited from JoinReceiverTask.) |
||||||||||||||||||||||||||||||||||
Execute |
Invoked by the scheduler to register the receiver on the ports.
(Inherited from ReceiverTask.) |
||||||||||||||||||||||||||||||||||
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
||||||||||||||||||||||||||||||||||
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
||||||||||||||||||||||||||||||||||
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
||||||||||||||||||||||||||||||||||
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
||||||||||||||||||||||||||||||||||
PartialClone |
Shallow clone of receiver state and task state
(Inherited from ReceiverTask.) |
||||||||||||||||||||||||||||||||||
Register |
Registers child receivers on each port in the join, so it can get notified when messages become available in the ports
(Overrides JoinReceiverTask. . :: . .Register() () () ().) |
||||||||||||||||||||||||||||||||||
ShouldCommit |
Checks if the ports participating in the join have one message each so it can schedule a Commit phase and attempt to retrieve the items
(Overrides JoinReceiverTask. . :: . .ShouldCommit() () () ().) |
||||||||||||||||||||||||||||||||||
ToString |
Description of JoinReceiver state
(Overrides ReceiverTask. . :: . .ToString() () () ().) |
||||||||||||||||||||||||||||||||||
UnrollPartialCommit |
If the join commit fails for any reason this routine will post back any items taken from ports
(Overrides JoinReceiverTask. . :: . .UnrollPartialCommit(array
Properties
See Also |