Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[refine] Design Response Generator API #90

Open
mdabrowski1990 opened this issue Sep 15, 2021 · 0 comments
Open

[refine] Design Response Generator API #90

mdabrowski1990 opened this issue Sep 15, 2021 · 0 comments
Labels
implementation Changes to code
Milestone

Comments

@mdabrowski1990
Copy link
Owner

mdabrowski1990 commented Sep 15, 2021

Requires

  • State API
  • Rule API

Description

As a user, I would like to have API of automatic responder defined, so I know what functionalities it has and how to use them.

Acceptance Criteria

  • Response Generator class is defined
  • Each method has annotation and docstring. There shall be no code, preferable they raise exceptions.
  • Response Generator provide following functionalities:
    • store current state of a server (e.g. session, security access) and decide a response basing on current state
    • automatically generate a response to any request
    • support no response to a request (e.g. functional addressing)
    • support multiple responses to a request (periodic or on event responses - e.g. SID 0x2A, 0x86)
@mdabrowski1990 mdabrowski1990 added the implementation Changes to code label Sep 15, 2021
@mdabrowski1990 mdabrowski1990 added this to the 3) Server Simulation milestone Sep 15, 2021
@mdabrowski1990 mdabrowski1990 changed the title [refine] Design Response Manager API [refine] Design Response Generator API Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
implementation Changes to code
Projects
None yet
Development

No branches or pull requests

1 participant