Feature #1743

Feature #44: Implement basic introspection support

Implement introspection event sender

Added by J. Moringen over 10 years ago. Updated over 9 years ago.

Status:ResolvedStart date:03/24/2014
Priority:NormalDue date:03/24/2014
Assignee:J. Moringen% Done:

100%

Category:Python
Target version:rsb-0.11

Description

  • Basic participant information
  • Echo server for clock measurements

Associated revisions

Revision 88791ecc
Added by J. Moringen about 10 years ago

Make Method classes subclasses of Participant in rsb/patterns/__init__.py

refs #1743

  • rsb/patterns/__init__.py (Method): changed superclass object ->
    Participant
    (Method.__init__): accept scope and config argument; pass to
    superclass
    (LocalMethod.__init): likewise
    (LocalMethod.makeListener): use method's own configuration instead of
    server's configuration when constructing the listener
    (LocalMethod.makeInformer): similar for informer
    (LocalServer.addMethod): pass scope and configuration to constructed
    LocalMethod
    (RemoteMethod.__init__): accept scope and config argument; pass to
    superclass
    (RemoteMethod.makeListener): use method's own configuration instead of
    server's configuration when constructing the listener
    (RemoteMethod.makeInformer): similar for informer
    (RemoteServer.addMethod): pass scope and configuration to constructed
    LocalMethod

Revision 5ae3b050
Added by J. Moringen over 9 years ago

Import of introspection module in rsb/introspection/__init__.py

fixes #1743

  • rsb/__init__.py (createParticipant): when config.introspection is
    True, load introspection module
  • rsb/introspection/__init__.py: new file; contains introspection
    functionality; currently only local model and introspection sender
  • test/introspectiontest.py: new file; contains unit tests for
    introspection functionality
  • test/__init__.py (header): updated copyright
    (suite): add introspection test suite to root suite

Revision 8280393c
Added by J. Moringen over 9 years ago

Writable ParticipantConfig properties in rsb/__init__.py

refs #1743

  • rsb/__init__.py (ParticipantConfig.setQualityOfServiceSpec): new
    method; set qualityOfServiceSpec
    (ParticipantConfig.qualityOfServiceSpec): new property; read/write
    qualityOfServiceSpec
    (ParticipantConfig.setIntrospection): new method; set introspection
    switch
    (ParticipantConfig.introspection): new property; read/write
    introspection
  • test/coretest.py (ParticipantConfigTest.testMutation): new method;
    test modifying an existing ParticipantConfig object

History

#1 Updated by J. Moringen about 10 years ago

  • Description updated (diff)

#2 Updated by J. Moringen about 10 years ago

  • Status changed from New to In Progress
  • Assignee set to J. Moringen
  • % Done changed from 0 to 10

#3 Updated by J. Moringen about 10 years ago

  • % Done changed from 10 to 50

#4 Updated by J. Moringen about 10 years ago

  • % Done changed from 50 to 80

#5 Updated by J. Moringen about 10 years ago

  • % Done changed from 80 to 90

#6 Updated by J. Moringen about 10 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 90 to 100

Ready to be committed. Maybe after a review.

#7 Updated by J. Moringen over 9 years ago

  • Category changed from Python to Introspection

#8 Updated by J. Moringen over 9 years ago

  • Category changed from Introspection to Python

#9 Updated by J. Moringen over 9 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF