Object Browser documentation about Arbiter
I have a few questions about what I see in Object Browser about Arbiter.
Arbiter methods that activate
- Arbiter.Activatereturns void
- Arbiter.ExecuteToCompletionreturns ITask(maybe) [*1]
Arbiter methods that return an instance of ITask
- Arbiter.FromHandler
- Arbiter.FromIteratorHandler
Arbiter methods that return an instance of a type of arbiter [*2]
- Arbiter.Receivereturns a Receiver arbiter [*3]
- Arbiter.ReceiveFromPortSetreturns a Receiver arbiter [*4]
- Arbiter.ReceiveWithIteratorreturns a Receiver arbiter
- Arbiter.ReceiveWithIteratorFromPortSetreturns a Receiver arbiter
- Arbiter.Choicereturns a Choice arbiter
- Arbiter.Interleavereturns something [*5]
- Arbiter.JoinedReceivereturns a JoinReceiver arbiter
- Arbiter.JoinedReceiveWithIteratorreturns a JoinReceiver arbiter
- Arbiter.MultiplePortReceivereturns JoinReceiver arbiter
- Arbiter.MultipleItemReceivereturns different things [*6], [*7], [*8]
Note:Please don’t interpret the bold as shouting.I just wanted the questions to stand out.I have no attitude, just questions.
[*1]In the documentation in Object Browser this has two overloads.The first overload returns void (according to the syntax), but the return section says that it returns ITask.Which is correct?
[*2]The CCR User guide refers to the objects that these methods return as “arbiters”, but I do not see them derived from the Arbiter class.What makes them “arbiters”?
[*3]In the documentation in Object Browser this has two overloads.The second overload does not show a returns section, but it shows a return value of a Receiver arbiter in the syntax.Is this correct?
[*4]According to the documentation in Object Browser, the second overloaded method returns Receiver (according to the syntax), but there is not a return section.Does it return this object or not?
[*5]According to the documentation in Object Browser, the syntax shows this method returns Interleave, but the returns section shows it returns Choice.Which is correct?
[*6]According to the documentation in Object Browser, the first overloaded method returns MultipleItemReceiver (according to the syntax), but there is not a return section.Does it return this object or not?
[*7]According to the documentation in Object Browser, the second overloaded method returns JointSinglePortReceiver (according to the syntax), but there is not a return section.Does it return this object and if so, why is this different than the other ones?I guess technically this is not an overload, just different methods that unfortunately happen to have the same name.
[*8]According to the documentation in Object Browser, the second overloaded method returns MultipleItemGather (according to the syntax), but there is not a return section.Does it return this object and if so, why is this different than the other ones?I guess technically this is not an overload, just different methods that unfortunately happen to have the same name.
Thanks,
Dogulas

