Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Tracking state in Affixes #25

@aaaaalbert

Description

@aaaaalbert

What is The Official Way to track connection/flow state using an Affix?

I have tried a few options for a UDP Affix I am writing (add item to the affix_context dict, store attribute with Affix object instance, store as class attribute), but none worked -- class attributes are read-only due to safety restrictions in Repy; for instance attributes, the problem is that each UDP send causes a new Affix object to be created, and so the previously assigned attributes are not available.

Of course I can use a non-Affix related global variable for storing stuff, but this hurts by design.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions