PythonIPCPseudoConduit::registerCallbackForCode doesn't work
-
Christopher Stawarz
Assigned to Tender discussion #60.
-
Christopher Stawarz
- Milestone set to 0.5.0
- Milestone order changed from 168175 to 0
-
Christopher Stawarz
I should have been clearer in my original description:
registerCallbackForCodedoesn't have the intended effect specifically when the other end is an EventStreamConduit, which is the case for both the client scripting bridge and the serverside conduit plugin. If the remote end is another type of conduit (say, a SimpleConduit) that sends events regardless of whether the local end has asked for them, then registerCallbackForCode will work fine.The fix is probably to add a variant of SystemEventFactory::setEventForwardingControl that takes a code rather than a name string, and then update EventStreamConduit to handle forward-by-code.
While I still think that this is the best way to resolve this issue, a good intermediate fix would be for CodecAwareConduit to convert code-based registrations into name-based ones. That would work for all events except those without tag names (i.e. system events), but we could at least throw an appropriate error in that case.
-
Christopher Stawarz
- Milestone cleared.
-
Christopher Stawarz
- State changed from open to resolved
- Assigned user set to Christopher Stawarz
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.