Class ServiceContainerEvent

All Implemented Interfaces:
IContainerEvent, Event, IServiceEvent

public class ServiceContainerEvent extends Object implements IServiceEvent
Base event implementation of IServiceEvent. Subclasses may be created as appropriate.
  • Field Details

    • info

      protected IServiceInfo info
    • containerID

      protected ID containerID
  • Constructor Details

    • ServiceContainerEvent

      public ServiceContainerEvent(IServiceInfo info, ID containerID)
  • Method Details

    • getServiceInfo

      public IServiceInfo getServiceInfo()
      Description copied from interface: IServiceEvent
      Get the service info associated with this event
      Specified by:
      getServiceInfo in interface IServiceEvent
      IServiceInfo any info associated with this event. May be null.
    • getLocalContainerID

      public ID getLocalContainerID()
      Description copied from interface: IContainerEvent
      Get ID of local discovery container (the discovery container receiving this event).
      Specified by:
      getLocalContainerID in interface IContainerEvent
      ID for local container. Will not return null.
    • toString

      public String toString()
      toString in class Object