Skip to content

Commit

Permalink
Updated types for session expiry intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
amitjoy committed Dec 12, 2023
1 parent 153fa25 commit 607ebe2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ public final class MessageClientProvider {
boolean useSessionExpiry() default false;

@AttributeDefinition(name = "Keep Session State (In seconds)")
long sessionExpiryInterval() default 30L;
int sessionExpiryInterval() default 30;

@AttributeDefinition(name = "Flag to enable/disable session expiry for disconnection")
boolean useSessionExpiryForDisconnect() default true;

@AttributeDefinition(name = "Keep Session State after disconnection (In seconds)")
long sessionExpiryIntervalForDisconnect() default 0L;
int sessionExpiryIntervalForDisconnect() default 0;

@AttributeDefinition(name = "Server Port", min = "1", max = "65535")
int port() default 1883;
Expand Down

0 comments on commit 607ebe2

Please sign in to comment.