Tasks #1029

Expose connector "remoteness" in transport package [Python]

Added by J. Moringen over 9 years ago. Updated almost 6 years ago.

Status:ResolvedStart date:06/25/2012
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Python
Target version:rsb-0.14

Description

Client code should be able to determine whether a transport implements inprocess or interprocess communication.

The client interface should consist of e.g.
bool rsb.transport.Transport,isRemote()


Related issues

Related to Robotics Service Bus - Enhancement #320: Introspectable Configuration Options [Python] In Progress 05/12/2011
Blocked by Robotics Service Bus - Enhancement #1025: Add Transport class Resolved 06/25/2012

Associated revisions

Revision 7914656d
Added by J. Moringen almost 6 years ago

Added getRemote to TransportFactory interface in rsb/transport/__init__.py

fixes #1029

  • rsb/transport/__init__.py (header): updated copyright
    (TransportFactory.getRemote): new abstract method; returns True if the
    transport performs remote communication
  • rsb/transport/local/__init__.py (TransportFactory.getRemote): new
    method; implementation
  • rsb/transport/rsbspread/__init__.py (header): updated copyright
    (TransportFactory.getRemote): new method; implementation
  • rsb/transport/socket/__init__.py (header): updated copyright
    (TransportFactory.getRemote): new method; implementation

Revision 5d6135ab
Added by J. Moringen almost 6 years ago

Renamed TransportFactory.{get -> is}Remote in src/transport/**/*.py

refs #1029

  • rsb/transport/__init__.py (TransportFactory.isRemote): renamed method {get -> is}Remote
  • rsb/transport/local/__init__.py (TransportFactory.isRemote): likewise
  • rsb/transport/rsbspread/__init__.py (TransportFactory.isRemote):
    likewise
  • rsb/transport/socket/__init__.py (TransportFactory.isRemote): likewise

History

#1 Updated by J. Moringen almost 9 years ago

  • Target version changed from rsb-0.9 to rsb-0.10

#2 Updated by J. Moringen about 8 years ago

  • Target version changed from rsb-0.10 to rsb-0.11

#3 Updated by J. Moringen almost 8 years ago

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

#4 Updated by J. Wienke almost 7 years ago

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

#5 Updated by J. Moringen almost 6 years ago

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

#6 Updated by J. Moringen almost 6 years ago

  • Subject changed from Expose connector "remoteness" in transport package to Expose connector "remoteness" in transport package [Python]

#7 Updated by J. Moringen almost 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#8 Updated by J. Wienke almost 6 years ago

Shouldn't the method name be isRemote?

#9 Updated by J. Moringen almost 6 years ago

J. Wienke wrote:

Shouldn't the method name be isRemote?

Possibly. I tried to research what the usual convention is for such methods but didn't find anything conclusive. IIRC, this is what rsb-python does in other instances.

#10 Updated by J. Moringen over 4 years ago

  • Related to Enhancement #320: Introspectable Configuration Options [Python] added

#11 Updated by J. Moringen over 4 years ago

  • Related to deleted (Enhancement #286: Introspectable Configuration Options [C++])

Also available in: Atom PDF