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
Indicates that an element has been connected to another
-
Constructor Summary
ConstructorDescriptionElementConnectedEvent
(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
Modifier and TypeMethodDescriptionGetter for the mediaType propertygetSink()
Getter for the sink propertyGetter for the sinkMediaDescription propertyGetter 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 propertyMethods inherited from class org.kurento.client.MediaEvent
getType, setType
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
Constructor Details
-
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 Details
-
getSink
Getter for the sink property- Returns:
- sink element in new connection *
-
setSink
Setter for the sink property- Parameters:
sink
- sink element in new connection
-
getMediaType
Getter for the mediaType property- Returns:
- Media type of the connection *
-
setMediaType
Setter for the mediaType property- Parameters:
mediaType
- Media type of the 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
-