Class ElementDisconnectedEvent
java.lang.Object
org.kurento.client.RaiseBaseEvent
org.kurento.client.MediaEvent
org.kurento.client.ElementDisconnectedEvent
- All Implemented Interfaces:
Event
Indicates that an element has been disconnected from another
-
Constructor Summary
ConstructorsConstructorDescriptionElementDisconnectedEvent(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 -
Method Summary
Modifier and TypeMethodDescriptionGetter for the mediaType propertygetSink()Getter for the sink propertyGetter for the sinkMediaDescription propertyGetter for the sourceMediaDescription propertyvoidsetMediaType(MediaType mediaType) Setter for the mediaType propertyvoidsetSink(MediaElement sink) Setter for the sink propertyvoidsetSinkMediaDescription(String sinkMediaDescription) Setter for the sinkMediaDescription propertyvoidsetSourceMediaDescription(String sourceMediaDescription) Setter for the sourceMediaDescription propertyMethods inherited from class MediaEvent
getType, setTypeMethods inherited from class RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
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 eventtimestampMillis- The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).tags-type- Type of event that was raisedsink- sink element in previous connectionmediaType- Media type of the previous connectionsourceMediaDescription- Description of the source mediasinkMediaDescription- Description of the sink media
-
-
Method Details
-
getSink
Getter for the sink property- Returns:
- sink element in previous connection *
-
setSink
Setter for the sink property- Parameters:
sink- sink element in previous connection
-
getMediaType
Getter for the mediaType property- Returns:
- Media type of the previous connection *
-
setMediaType
Setter for the mediaType property- Parameters:
mediaType- Media type of the previous connection
-
getSourceMediaDescription
Getter for the sourceMediaDescription property- Returns:
- Description of the source media *
-
setSourceMediaDescription
Setter for the sourceMediaDescription property- Parameters:
sourceMediaDescription- Description of the source media
-
getSinkMediaDescription
Getter for the sinkMediaDescription property- Returns:
- Description of the sink media *
-
setSinkMediaDescription
Setter for the sinkMediaDescription property- Parameters:
sinkMediaDescription- Description of the sink media
-