Skip to content

Commit

Permalink
[border-agent] update CoapDtlsSession to handle session functionali…
Browse files Browse the repository at this point in the history
…ty (openthread#11131)

This commit updates the `CoapDtlsSession` class in `BorderAgent` to
move all session-related functionality into this class. It now
handles its own state and uses its own `Timer`, ALOC, UDP receiver,
etc.

Many methods previously defined in `BorderAgent` are now defined in
`CoapDtlsSession`, ensuring each session can be processed
individually. The `ForwardContext`, which tracks forwarded TMF
commands, is also moved into `CoapDtlsSession` and updated to track
its associated session.

This change prepares `BorderAgent` to support multiple concurrent
sessions in future PRs.
  • Loading branch information
abtink authored Jan 13, 2025
1 parent 000ef41 commit d16d160
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 191 deletions.
Loading

0 comments on commit d16d160

Please sign in to comment.