Interface IRegistrationResult


public interface IRegistrationResult
IRegistrationResult represents successful registration of a location
  • Method Summary

    Modifier and Type
    Method
    Description
    The unregister method will use the connection of this location to unregister from LocationService
    The successful registration of location can be unregistered using this method
  • Method Details

    • location

      Location location()
      The unregister method will use the connection of this location to unregister from LocationService

      Returns:
      the handle to the Location that got registered in LocationService
    • unregister

      CompletableFuture<akka.Done> unregister()
      The successful registration of location can be unregistered using this method

      Note that this method is idempotent, which means multiple call to unregister the same connection will be no-op once successfully unregistered from location service

      Returns:
      a CompletableFuture which completes when the location is is successfully unregistered or fails with UnregistrationFailed