Package pubsub

Class Subscriber

java.lang.Object
pubsub.Subscriber

public class Subscriber extends Object
  • Constructor Details

  • Method Details

    • 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)