Package energy.trolie.client
Interface RequestSubscription
public interface RequestSubscription
Handle for an active request subscription that is passed to the subscription receiver,
allowing it to control the subscription state
-
Method Summary
-
Method Details
-
isActive
boolean isActive()- Returns:
- true if the subscription is currently running.
-
isSubscribed
boolean isSubscribed()- Returns:
- true if the subscription is running and has not been stopped
-
isHealthy
boolean isHealthy()- Returns:
- true if the subscription is currently healthy, meaning that the last poll occurred successfully without error.
-