Class DistributedServiceStartedEvent

Object
se.curity.identityserver.sdk.data.events.distributedservice.DistributedServiceStartedEvent
All Implemented Interfaces:
SerializableAsMap, DistributedServiceEvent, Event

public final class DistributedServiceStartedEvent extends Object implements DistributedServiceEvent
A DistributedServiceEvent that occurs when the Distributed Service is started.
Since:
10.4
  • Constructor Details

    • DistributedServiceStartedEvent

      public DistributedServiceStartedEvent(String adminHost, int port)
  • Method Details

    • getAdminHost

      public String getAdminHost()
      Returns:
      the Admin node's hostname or IP address
    • getPort

      public int getPort()
      Returns:
      the port used by the Distributed Service
    • asMap

      public Map<String,Object> asMap()
      Description copied from interface: Event
      Get a map representation of this Event.
      Specified by:
      asMap in interface Event
      Specified by:
      asMap in interface SerializableAsMap
      Returns:
      a Map representation of this Event. This can be used to serialize events. Sub-types are encouraged to override this method, calling super.asMap() and enriching the returned mutable Map with the more specific information added by the sub-type.