Package pubsub
Class Publisher
java.lang.Object
pubsub.Publisher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
publishInstance
(Instance instance) Publish the given instance using the Instance client templatevoid
publishInstances
(List<Instance> instances) Publish the given instances using the Instance client template in a transactionvoid
publishLocationAvailable
(Group group, LocationAvailable locationAvailable) Publish the given LocationAvailable using the LocationAvailable client templatevoid
publishLocationsAvailable
(Group group, List<LocationAvailable> locationsAvailable) Publish the given LocationAvailables using the LocationAvailable client template in a transactionvoid
publishUserCreated
(Group group, UserCreated userCreated) Publish the given UserCreated using the UserCreated client templatevoid
publishUsersCreated
(Group group, List<UserCreated> usersCreated) Publish the given UserCreateds using the UserCreated client template in a transaction
-
Constructor Details
-
Publisher
-
-
Method Details
-
publishInstance
Publish the given instance using the Instance client template- Parameters:
instance
- instance to publish
-
publishInstances
Publish the given instances using the Instance client template in a transaction- Parameters:
instances
- instances to publish
-
publishLocationAvailable
Publish the given LocationAvailable using the LocationAvailable client template- Parameters:
group
- grouplocationAvailable
- message to publish
-
publishUserCreated
Publish the given UserCreated using the UserCreated client template- Parameters:
group
- groupuserCreated
- message to publish
-
publishLocationsAvailable
Publish the given LocationAvailables using the LocationAvailable client template in a transaction- Parameters:
group
- grouplocationsAvailable
- messages to publish
-
publishUsersCreated
Publish the given UserCreateds using the UserCreated client template in a transaction- Parameters:
group
- groupusersCreated
- messages to publish
-