Package org.kurento.client
Class ElementConnectionData
- java.lang.Object
-
- org.kurento.client.ElementConnectionData
-
public class ElementConnectionData extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ElementConnectionData()
Default private constructor of ElementConnectionData for serialization with JacksonElementConnectionData(MediaElement source, MediaElement sink, MediaType type, String sourceDescription, String sinkDescription)
Create a ElementConnectionData
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaElement
getSink()
get The sink element in the connectionString
getSinkDescription()
get Description of sink media.MediaElement
getSource()
get The source element in the connectionString
getSourceDescription()
get Description of source media.MediaType
getType()
get MediaType of the connectionvoid
setSink(MediaElement sink)
set The sink element in the connectionvoid
setSinkDescription(String sinkDescription)
set Description of sink media.void
setSource(MediaElement source)
set The source element in the connectionvoid
setSourceDescription(String sourceDescription)
set Description of source media.void
setType(MediaType type)
set MediaType of the connection
-
-
-
Constructor Detail
-
ElementConnectionData
protected ElementConnectionData()
Default private constructor of ElementConnectionData for serialization with Jackson
-
ElementConnectionData
public ElementConnectionData(MediaElement source, MediaElement sink, MediaType type, String sourceDescription, String sinkDescription)
Create a ElementConnectionData
-
-
Method Detail
-
getSource
public MediaElement getSource()
get The source element in the connection
-
setSource
public void setSource(MediaElement source)
set The source element in the connection
-
getSink
public MediaElement getSink()
get The sink element in the connection
-
setSink
public void setSink(MediaElement sink)
set The sink element in the connection
-
getType
public MediaType getType()
get MediaType of the connection
-
setType
public void setType(MediaType type)
set MediaType of the connection
-
getSourceDescription
public String getSourceDescription()
get Description of source media. Could be empty.
-
setSourceDescription
public void setSourceDescription(String sourceDescription)
set Description of source media. Could be empty.
-
getSinkDescription
public String getSinkDescription()
get Description of sink media. Could be empty.
-
setSinkDescription
public void setSinkDescription(String sinkDescription)
set Description of sink media. Could be empty.
-
-