Class ElementDisconnectedEvent

All Implemented Interfaces:
Event

public class ElementDisconnectedEvent extends MediaEvent
Indicates that an element has been disconnected from another
  • Constructor Details

    • ElementDisconnectedEvent

      public ElementDisconnectedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, MediaElement sink, MediaType mediaType, String sourceMediaDescription, String sinkMediaDescription)
      Indicates that an element has been disconnected from another
      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
      sink - sink element in previous connection
      mediaType - Media type of the previous connection
      sourceMediaDescription - Description of the source media
      sinkMediaDescription - Description of the sink media
  • Method Details

    • getSink

      public MediaElement getSink()
      Getter for the sink property
      Returns:
      sink element in previous connection *
    • setSink

      public void setSink(MediaElement sink)
      Setter for the sink property
      Parameters:
      sink - sink element in previous connection
    • getMediaType

      public MediaType getMediaType()
      Getter for the mediaType property
      Returns:
      Media type of the previous connection *
    • setMediaType

      public void setMediaType(MediaType mediaType)
      Setter for the mediaType property
      Parameters:
      mediaType - Media type of the previous connection
    • getSourceMediaDescription

      public String getSourceMediaDescription()
      Getter for the sourceMediaDescription property
      Returns:
      Description of the source media *
    • setSourceMediaDescription

      public void setSourceMediaDescription(String sourceMediaDescription)
      Setter for the sourceMediaDescription property
      Parameters:
      sourceMediaDescription - Description of the source media
    • getSinkMediaDescription

      public String getSinkMediaDescription()
      Getter for the sinkMediaDescription property
      Returns:
      Description of the sink media *
    • setSinkMediaDescription

      public void setSinkMediaDescription(String sinkMediaDescription)
      Setter for the sinkMediaDescription property
      Parameters:
      sinkMediaDescription - Description of the sink media