Tasks #1030

Expose connector "remoteness" in transport package [Common Lisp]

Added by J. Moringen almost 9 years ago. Updated about 5 years ago.

Status:ResolvedStart date:06/25/2012
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Common Lisp
Target version:rsb-0.13

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:is-remote(transport)


Related issues

Related to Robotics Service Bus - Enhancement #1026: Add transport class [Common Lisp] Resolved 06/25/2012

Associated revisions

Revision caae3218
Added by J. Moringen about 6 years ago

Print transport "remoteness" in src/commands/info.lisp

refs #1030

  • src/commands/info.lisp (command-execute info): print transport
    "remoteness"

Revision cf90f3f2
Added by J. Moringen over 5 years ago

Print transport "remoteness" in src/commands/info.lisp

refs #1030

  • src/commands/info.lisp (command-execute info): print transport
    "remoteness"

Revision d2ae177f
Added by J. Moringen over 5 years ago

Declare connector "remoteness" in src/transport/yarp[tcp]/connectors.lisp

refs #1030

  • src/transport/yarp/connectors.lisp (register-transport :yarp): added
    :remote? t initarg
  • src/transport/yarptcp/connector.lisp (register-transport :tcp+yarp):
    likewise
  • test/transport/yarp/connectors.lisp
    (define-basic-connector-test-cases in-pull-connector): added
    :expected-remote? t argument
    (define-basic-connector-test-cases in-push-connector): likewise
    (define-basic-connector-test-cases out-connector): likewise
  • test/transport/yarptcp/connectors.lisp
    (define-basic-connector-test-cases in-pull-connector): likewise
    (define-basic-connector-test-cases in-push-connector): likewise
    (define-basic-connector-test-cases out-connector): likewise

Revision eb442497
Added by J. Moringen over 5 years ago

Declare connector "remoteness" in src/transport/[tcp]ros/connectors.lisp

refs #1030

  • src/transport/ros/connectors.lisp (register-transport :ros): added
    :remote? t initarg
  • src/transport/tcpros/connector.lisp (register-transport :tcp+ros):
    likewise
  • test/transport/tcpros/in-pull-connector.lisp
    (define-basic-connector-test-cases in-pull-connector): added
    :expected-remote? t argument
  • test/transport/tcpros/in-push-connector.lisp
    (define-basic-connector-test-cases in-push-connector): likewise
  • test/transport/tcpros/out-connector.lisp
    (define-basic-connector-test-cases out-connector): likewise

Revision afbbeafe
Added by J. Moringen over 5 years ago

Added transport remoteness protocol in src/transport/{protocol,transport}.lisp

refs #1030

  • src/transport/protocol.lisp (transport-remote?): new generic function;
    return true if the transport implements remote communication
    (define-transport-accessor transport-remote?): new methods; lookup
    transport when given a name
  • src/transport/transport.lisp (transport::remote?): new slot; stores
    remote property
    (print-items append transport): new method; add remoteness to
    print-items
    (describe-object transport t): describe remoteness
  • src/transport/connector-class.lisp
    (define-connector-class-accessor transport-remote?): new method;
    delegate from connector to transport
  • src/transport/package.lisp (package rsb.transport): added exported
    symbol transport-remote?
  • src/transport/inprocess/transport.lisp
    (register-transport :inprocess): added :remote? nil initarg
  • src/transport/socket/transport.lisp (register-transport :socket):
    added :remote? t initarg
  • src/transport/spread/transport.lisp (register-transport :spread):
    likewise
  • test/transport/package.lisp (check-connector): added expected-remote?
    parameter
    (check-connector-class): likewise
    (define-basic-connector-test-cases): likewise
  • test/transport/inprocess/connectors.lisp
    (define-basic-connector-test-cases in-pull-connector): added
    :expected-remote? nil argument
    (define-basic-connector-test-cases in-push-connector): likewise
    (define-basic-connector-test-cases out-connector): likewise
  • test/transport/spread/connectors.lisp (define-connector-suite):
    likewise
  • test/transport/socket/connectors.lisp (define-connector-suite):
    likewise

History

#1 Updated by J. Moringen about 8 years ago

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

#2 Updated by J. Moringen over 7 years ago

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

#3 Updated by J. Moringen over 7 years ago

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

#4 Updated by J. Moringen about 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

#5 Updated by J. Wienke about 6 years ago

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

#6 Updated by J. Moringen over 5 years ago

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

#7 Updated by J. Moringen about 5 years ago

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

#8 Updated by J. Moringen over 3 years ago

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

Also available in: Atom PDF