Interface Subscription
- All Superinterfaces:
AutoCloseable
A removable topic subscription.
-
Method Summary
-
Method Details
-
active
boolean active()Reports whether this subscription can still receive messages.- Returns:
truewhile active
-
close
void close()Removes the handler; repeated calls have no effect.- Specified by:
closein interfaceAutoCloseable
-