You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: