com.connecterra.alepc.api
Interface PCSubscriptionInfo


public interface PCSubscriptionInfo

Describes administrative information for an event cycle specification.

See Also:
ALEPC.getPCSubscriptionInfo(java.lang.String, java.net.URI)

Method Summary
 int getConsecutiveFailureCount()
          Returns the number of failed notifications since the subscription or last successful notification.
 PCSubscriptionControls getControls()
          Returns the controls for this subscription.
 long getLastSuccessTime()
          Returns the absolute time in milliseconds, as from System.currentTimeMillis(), of the most recent successful notification.
 

Method Detail

getControls

public PCSubscriptionControls getControls()
Returns the controls for this subscription. This may have different values than the argument passed to subscribe() due to global engine configuration.


getConsecutiveFailureCount

public int getConsecutiveFailureCount()
Returns the number of failed notifications since the subscription or last successful notification. This will return zero if there have been no notifications since the subscription, or if the last notification succeeded.


getLastSuccessTime

public long getLastSuccessTime()
Returns the absolute time in milliseconds, as from System.currentTimeMillis(), of the most recent successful notification. This will return -1 if there has never been a successful notification.