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

Support ANNOUNCE_OK and ANNOUNCE_ERROR handler #116

Merged

Conversation

tetter27
Copy link
Collaborator

This feature was TODO of #115

Copy link

codecov bot commented Oct 26, 2024

Codecov Report

Attention: Patch coverage is 38.73874% with 68 lines in your changes missing coverage. Please review.

Project coverage is 68.23%. Comparing base (5bb0237) to head (f9937b3).
Report is 1 commits behind head on impl/subscribe_namespace_handler.

Additional details and impacted files
@@                         Coverage Diff                          @@
##           impl/subscribe_namespace_handler     #116      +/-   ##
====================================================================
- Coverage                             69.24%   68.23%   -1.02%     
====================================================================
  Files                                    55       58       +3     
  Lines                                  2725     2814      +89     
====================================================================
+ Hits                                   1887     1920      +33     
- Misses                                  838      894      +56     
Components Coverage Δ
moqt-core 91.85% <80.00%> (-0.06%) ⬇️
moqt-server 55.82% <36.79%> (-1.05%) ⬇️

@tetter27 tetter27 requested a review from yuki-uchida October 29, 2024 05:59
@@ -4,6 +4,8 @@ use crate::constants::TerminationErrorCode;
use crate::modules::handlers::{
announce_handler::AnnounceResponse, unannounce_handler::unannounce_handler,
};
use crate::modules::server_processes::announce_error_message::process_announce_error_message;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use grouping

tetter27 and others added 3 commits October 29, 2024 19:16
* add todo comment

* refactor: add error handling

* feat: announce propagate

* refactor: error message

* Support new messages relay feature (#120)

* feat: relay new messages

* feat: send subscribe namespace ok

* Support client send/recv SUBSCRIBE_NAMESPACE (#121)

* feat: send/recv subscribe_namespace

* Merge branch 'impl/new_message_relay' into impl/client/subscribe_namespace

* delete: unnecessary parameter

* fix: handle multiple control message

* feat: send announce ok message

* refactor: send/recv log
@tetter27 tetter27 merged commit b22cc79 into impl/subscribe_namespace_handler Oct 29, 2024
3 checks passed
@tetter27 tetter27 deleted the impl/announce_responce_handler branch October 29, 2024 10:27
tetter27 added a commit that referenced this pull request Oct 30, 2024
* impl: update version to 06

* fix: mark ANNOUNCE_ERROR

* fix: change default value to 06

* fix: wrong item text

* add field for 06

* fix: typo

* refactor: delete unnecessary comment

* refactor: delete unnecessary comment

* refactor: delete unnecessary comment

* feat: subscribe_namespace message

* refactor: delete unnecessary param

* feat: get parameter

* refactor: delete unnecessary param

* feat: subscribe namespace

* fix: behavior along with draft

* add tests

* Support ANNOUNCE_OK and ANNOUNCE_ERROR handler (#116)

* feat: handle announce responce

* Propagate announce if the namespace was subscribed by subscribers (#117)

* add todo comment

* refactor: add error handling

* feat: announce propagate

* refactor: error message

* Support new messages relay feature (#120)

* feat: relay new messages

* feat: send subscribe namespace ok

* Support client send/recv SUBSCRIBE_NAMESPACE (#121)

* feat: send/recv subscribe_namespace

* Merge branch 'impl/new_message_relay' into impl/client/subscribe_namespace

* delete: unnecessary parameter

* fix: handle multiple control message

* feat: send announce ok message

* refactor: send/recv log

* refactor: import grouping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants