Tasks #1029
Expose connector "remoteness" in transport package [Python]
Status: | Resolved | Start date: | 06/25/2012 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Associated revisions
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
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 10 years ago
- Target version changed from rsb-0.9 to rsb-0.10
#2 Updated by J. Moringen over 9 years ago
- Target version changed from rsb-0.10 to rsb-0.11
#3 Updated by J. Moringen about 9 years ago
- Target version changed from rsb-0.11 to rsb-0.12
#4 Updated by J. Wienke almost 8 years ago
- Target version changed from rsb-0.12 to rsb-0.13
#5 Updated by J. Moringen about 7 years ago
- Target version changed from rsb-0.13 to rsb-0.14
#6 Updated by J. Moringen almost 7 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 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset rsb-python|7914656dfed1f13f3d0d676998c7d00d3c233f5b.
#8 Updated by J. Wienke almost 7 years ago
Shouldn't the method name be isRemote
?
#9 Updated by J. Moringen almost 7 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 5 years ago
- Related to Enhancement #320: Introspectable Configuration Options [Python] added
#11 Updated by J. Moringen over 5 years ago
- Related to deleted (Enhancement #286: Introspectable Configuration Options [C++])