Package org.kurento.client
Class ElementConnectedEvent
- java.lang.Object
-
- org.kurento.client.RaiseBaseEvent
-
- org.kurento.client.MediaEvent
-
- org.kurento.client.ElementConnectedEvent
-
- All Implemented Interfaces:
Event
public class ElementConnectedEvent extends MediaEvent
Indicates that an element has been connected to another
-
-
Constructor Summary
Constructors Constructor Description ElementConnectedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, MediaElement sink, MediaType mediaType, String sourceMediaDescription, String sinkMediaDescription)
Indicates that an element has been connected to another
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaType
getMediaType()
Getter for the mediaType propertyMediaElement
getSink()
Getter for the sink propertyString
getSinkMediaDescription()
Getter for the sinkMediaDescription propertyString
getSourceMediaDescription()
Getter for the sourceMediaDescription propertyvoid
setMediaType(MediaType mediaType)
Setter for the mediaType propertyvoid
setSink(MediaElement sink)
Setter for the sink propertyvoid
setSinkMediaDescription(String sinkMediaDescription)
Setter for the sinkMediaDescription propertyvoid
setSourceMediaDescription(String sourceMediaDescription)
Setter for the sourceMediaDescription property-
Methods inherited from class org.kurento.client.MediaEvent
getType, setType
-
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
-
-
-
Constructor Detail
-
ElementConnectedEvent
public ElementConnectedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, MediaElement sink, MediaType mediaType, String sourceMediaDescription, String sinkMediaDescription)
Indicates that an element has been connected to 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 new connectionmediaType
- Media type of the connectionsourceMediaDescription
- Description of the source mediasinkMediaDescription
- Description of the sink media
-
-
Method Detail
-
getSink
public MediaElement getSink()
Getter for the sink property- Returns:
- sink element in new connection *
-
setSink
public void setSink(MediaElement sink)
Setter for the sink property- Parameters:
sink
- sink element in new connection
-
getMediaType
public MediaType getMediaType()
Getter for the mediaType property- Returns:
- Media type of the connection *
-
setMediaType
public void setMediaType(MediaType mediaType)
Setter for the mediaType property- Parameters:
mediaType
- Media type of the 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
-
-