Skip to content

chore: add synchronous syncs#61

Merged
ahmad-kemsan merged 3 commits intomasterfrom
huzaif/synchronous-server-sync
Apr 7, 2026
Merged

chore: add synchronous syncs#61
ahmad-kemsan merged 3 commits intomasterfrom
huzaif/synchronous-server-sync

Conversation

@mir-huzaif
Copy link
Copy Markdown
Contributor

No description provided.

@mir-huzaif mir-huzaif requested a review from ahmad-kemsan April 6, 2026 10:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds explicit, blocking “sync now” APIs to the Java LexActivator wrapper to allow callers to force a one-time refresh of license/trial activation data from Cryptlex servers (in contrast to the existing background/periodic sync behavior).

Changes:

  • Added JNA native declarations for synchronous license and trial activation syncs.
  • Added public Java wrapper methods with Javadoc and status-code mapping for the new sync operations.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/main/java/com/cryptlex/lexactivator/LexActivatorNative.java Adds native method declarations for SyncLicenseActivation() and SyncTrialActivation().
src/main/java/com/cryptlex/lexactivator/LexActivator.java Adds public wrapper methods SyncLicenseActivation() / SyncTrialActivation() with Javadoc and return-code handling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/main/java/com/cryptlex/lexactivator/LexActivator.java Outdated
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 7, 2026

@ahmad-kemsan ahmad-kemsan merged commit 4e70cdf into master Apr 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants