Bug #2222
Remove differences between APIs
Status: | Resolved | Start date: | 04/14/2015 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | J. Wienke | % Done: | 100% | |
Category: | Python | |||
Target version: | rsb-0.13 |
Description
There is a minor differences between the RSB Python and C++ APIs. See the function getSenderId()
:
In the C++ API this function is part of the MetaData class, while in Python the function lies in the Event Class [note: in Java]. (See C++ API vs Python API vs Java API)
Eventually there are some more small differences - this is the only one i noticed so far.
Related issues
Associated revisions
Unify API with other languages
- Remove old deprecated Event::getId method
- Rename Event::{get,set}EventId -> {get,set}Id
- Deprecate Event::getSequenceNumber in favor of
EventId::getSequenceNumber - Deprecate MetaData::{get,set}SenderId in favor of
EventId::{get,set}ParticipantId
Remaining source code has been adapted to match these conventions.
refs #2222
Unify API with other languages
- Rename Informer::send -> publish
Remaining source code has been adapted to match these conventions.
refs #2222
Explain changes to unify language APIs in news
fixes #2222
Adapt to changed API
fixes #2222
History
#1 Updated by Anonymous over 8 years ago
- Related to Tasks #1946: Refactor 'send' method of informer to 'publish' added
#2 Updated by N. Köster over 8 years ago
Also: the function createEvent()
of the class Informer
is missing in rsb-python (c++)
#3 Updated by J. Moringen over 8 years ago
- Target version changed from rsb-0.12 to rsb-1.0
#4 Updated by J. Wienke over 8 years ago
- Target version changed from rsb-1.0 to rsb-0.13
#5 Updated by J. Wienke over 8 years ago
- Status changed from New to In Progress
- Assignee set to J. Wienke
#6 Updated by J. Wienke over 8 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset rsb-manual|b7154335f350fb9a957c2b6984292e1d1e45e046.
#7 Updated by J. Moringen over 8 years ago
- Status changed from Resolved to In Progress
Seems to have broken the integration test:
https://ci.cor-lab.org//job/rsb-integrationtest-trunk/PYTHON_VERSION=2,label=ubuntu_precise_32bit/2706/console
#8 Updated by J. Wienke over 8 years ago
- Status changed from In Progress to Resolved
Applied in changeset rsb-integrationtest|a2593cd3d7be072ff1397d208a4570e80e5e43cd.