Package pubsub
Class Subscriber
java.lang.Object
pubsub.Subscriber
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstartInstanceSubscriber
(InstanceType instanceType) Start a subscriber (a CachedModeledFramework instance) using the Instance client templatestartLocationAvailableSubscriber
(Group group, Priority priority) Start a subscriber (a CachedModeledFramework instance) using the LocationAvailable client templatestartUserCreatedSubscriber
(Group group, Priority priority) Start a subscriber (a CachedModeledFramework instance) using the UserCreated client template
-
Constructor Details
-
Subscriber
-
-
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 forpriority
- 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 forpriority
- priority to listen for- Returns:
- CachedModeledFramework instance (already started)
-
startInstanceSubscriber
Start a subscriber (a CachedModeledFramework instance) using the Instance client template- Parameters:
instanceType
- type to listen for- Returns:
- CachedModeledFramework instance (already started)
-