Package pubsub

Class Publisher

java.lang.Object
pubsub.Publisher

public class Publisher extends Object
  • Constructor Details

  • Method Details

    • publishInstance

      public void publishInstance(Instance instance)
      Publish the given instance using the Instance client template
      Parameters:
      instance - instance to publish
    • publishInstances

      public void publishInstances(List<Instance> instances)
      Publish the given instances using the Instance client template in a transaction
      Parameters:
      instances - instances to publish
    • publishLocationAvailable

      public void publishLocationAvailable(Group group, LocationAvailable locationAvailable)
      Publish the given LocationAvailable using the LocationAvailable client template
      Parameters:
      group - group
      locationAvailable - message to publish
    • publishUserCreated

      public void publishUserCreated(Group group, UserCreated userCreated)
      Publish the given UserCreated using the UserCreated client template
      Parameters:
      group - group
      userCreated - message to publish
    • publishLocationsAvailable

      public void publishLocationsAvailable(Group group, List<LocationAvailable> locationsAvailable)
      Publish the given LocationAvailables using the LocationAvailable client template in a transaction
      Parameters:
      group - group
      locationsAvailable - messages to publish
    • publishUsersCreated

      public void publishUsersCreated(Group group, List<UserCreated> usersCreated)
      Publish the given UserCreateds using the UserCreated client template in a transaction
      Parameters:
      group - group
      usersCreated - messages to publish