uds
uds copied to clipboard
[refine] Design Response Generator API
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)