Bug #2222

Remove differences between APIs

Added by N. Köster over 6 years ago. Updated about 6 years ago.

Status:ResolvedStart date:04/14/2015
Priority:LowDue 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

Related to Robotics Service Bus - Tasks #1946: Refactor 'send' method of informer to 'publish' Resolved 08/21/2014

Associated revisions

Revision acca128d
Added by J. Wienke about 6 years ago

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

Revision 4be82fd6
Added by J. Wienke about 6 years ago

Unify API with other languages

  • Rename Informer::send -> publish

Remaining source code has been adapted to match these conventions.

refs #2222

Revision b7154335
Added by J. Wienke about 6 years ago

Explain changes to unify language APIs in news

fixes #2222

Revision a2593cd3
Added by J. Wienke about 6 years ago

Adapt to changed API

fixes #2222

History

#1 Updated by Anonymous over 6 years ago

  • Related to Tasks #1946: Refactor 'send' method of informer to 'publish' added

#2 Updated by N. Köster over 6 years ago

Also: the function createEvent() of the class Informer is missing in rsb-python (c++)

#3 Updated by J. Moringen over 6 years ago

  • Target version changed from rsb-0.12 to rsb-1.0

#4 Updated by J. Wienke about 6 years ago

  • Target version changed from rsb-1.0 to rsb-0.13

#5 Updated by J. Wienke about 6 years ago

  • Status changed from New to In Progress
  • Assignee set to J. Wienke

#6 Updated by J. Wienke about 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#7 Updated by J. Moringen about 6 years ago

  • Status changed from Resolved to In Progress

#8 Updated by J. Wienke about 6 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF