Class UriEndpointStateChangedEvent

  • All Implemented Interfaces:
    Event

    public class UriEndpointStateChangedEvent
    extends MediaEvent
    Indicates the new state of the endpoint
    • Constructor Detail

      • UriEndpointStateChangedEvent

        public UriEndpointStateChangedEvent​(MediaObject source,
                                            String timestampMillis,
                                            List<Tag> tags,
                                            String type,
                                            UriEndpointState state)
        Indicates the new state of the endpoint
        Parameters:
        source - Object that raised the event
        timestampMillis - The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
        tags -
        type - Type of event that was raised
        state - the new state
    • Method Detail

      • getState

        public UriEndpointState getState()
        Getter for the state property
        Returns:
        the new state *
      • setState

        public void setState​(UriEndpointState state)
        Setter for the state property
        Parameters:
        state - the new state