Package 

Interface ObjectsSubscription


  • 
    public interface ObjectsSubscription
    
                        

    Represents a objects subscription that can be unsubscribed from. This interface provides a way to clean up and remove subscriptions when they are no longer needed. Example usage:

    {@code * ObjectsSubscription s = objects.subscribe(ObjectsStateEvent.SYNCING, new ObjectsStateListener() {}); * // Later when done with the subscription * s.unsubscribe(); * }
     
    Spec: RTLO4b5
    • Method Summary

      Modifier and Type Method Description
      abstract void unsubscribe() This method should be called when the subscription is no longer needed,it will make sure no further events will be sent to the subscriber andthat references to the subscriber are cleaned up.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • unsubscribe

         abstract void unsubscribe()

        This method should be called when the subscription is no longer needed,it will make sure no further events will be sent to the subscriber andthat references to the subscriber are cleaned up.Spec: RTLO4b5a