Package pubsub

Class Subscriber


  • public class Subscriber
    extends Object
    • Method Detail

      • startLocationAvailableSubscriber

        public CachedModeledFramework<LocationAvailable> startLocationAvailableSubscriber​(Group group,
                                                                                          Priority priority)
        Start a subscriber (a CachedModeledFramework instance) using the LocationAvailable client template
        Parameters:
        group - group to listen for
        priority - priority to listen for
        Returns:
        CachedModeledFramework instance (already started)
      • startUserCreatedSubscriber

        public CachedModeledFramework<UserCreated> startUserCreatedSubscriber​(Group group,
                                                                              Priority priority)
        Start a subscriber (a CachedModeledFramework instance) using the UserCreated client template
        Parameters:
        group - group to listen for
        priority - priority to listen for
        Returns:
        CachedModeledFramework instance (already started)
      • startInstanceSubscriber

        public CachedModeledFramework<Instance> startInstanceSubscriber​(InstanceType instanceType)
        Start a subscriber (a CachedModeledFramework instance) using the Instance client template
        Parameters:
        instanceType - type to listen for
        Returns:
        CachedModeledFramework instance (already started)