-
Notifications
You must be signed in to change notification settings - Fork 0
[FEAT]: Implement new subscription methods for Connection #83
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
Merged
djenczewski
merged 10 commits into
feat/implement-2.6-rc5
from
feat/implement-new-subscription-methods-for-connection
Sep 9, 2025
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8ff520a
feat: add connection event type classes
Doominika 2012f50
feat: add new subscription methods
Doominika 49d0ee8
refactor: update listContextUsers with new parameters
Doominika 9ebe519
Revert "refactor: update listContextUsers with new parameters"
Doominika 98f642e
feat: add new subscription methods
Doominika d34bf64
feat: add new subscription methods in jni
Doominika ec2b076
docs(privmx-endpoint): rename ConnectionEventType to CoreEventType, a…
djenczewski 06c851b
docs(privmx-endpoint): rename ConnectionEventSelectorType to CoreEven…
djenczewski 06a7823
fix(privmx-endpoint/jni): add null checks in subscribeFor and unsubsc…
djenczewski a37bf70
Merge remote-tracking branch 'origin/feat/implement-2.6-rc5' into fea…
djenczewski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
.../simplito/java/privmx_endpoint/model/events/eventSelectorTypes/CoreEventSelectorType.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.simplito.java.privmx_endpoint.model.events.eventSelectorTypes; | ||
|
||
/** | ||
* Specifies the type of identifier used to select a core event. | ||
* This enum defines the possible types of selectors for the core events. | ||
* | ||
* @category core | ||
*/ | ||
public enum CoreEventSelectorType implements EventSelectorType { | ||
/** | ||
* Selects events based on the ID of the context. | ||
*/ | ||
CONTEXT_ID | ||
} |
23 changes: 23 additions & 0 deletions
23
...rc/main/java/com/simplito/java/privmx_endpoint/model/events/eventTypes/CoreEventType.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.simplito.java.privmx_endpoint.model.events.eventTypes; | ||
|
||
/** | ||
* Defines the types of core events for which a client can subscribe. | ||
* This enum lists the various actions or changes that can happen on core functionalities, | ||
* allowing observers to be notified of specific occurrences. | ||
* | ||
* @category core | ||
*/ | ||
public enum CoreEventType implements EventType{ | ||
/** | ||
* Type of event triggered when a new user is added within a context. | ||
*/ | ||
USER_ADD, | ||
/** | ||
* Type of event triggered when a user is deleted from context. | ||
*/ | ||
USER_REMOVE, | ||
/** | ||
* Type of event triggered when an user status is changed. | ||
*/ | ||
USER_STATUS | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.