com.fluendo.plugin
Class Selector
java.lang.Object
com.fluendo.jst.Object
com.fluendo.jst.Element
com.fluendo.plugin.Selector
public class Selector
- extends Element
This element receives data from N sinks, and selects one of them
to send from its source.
Fields inherited from class com.fluendo.jst.Element |
ASYNC, ELEMENT_FLAG_LAST, FAILURE, FLAG_IS_SINK, NO_PREROLL, NONE, PAUSE, PAUSE_PLAY, PAUSE_STOP, PLAY, PLAY_PAUSE, stateReturnNames, STOP, STOP_PAUSE, SUCCESS |
Method Summary |
java.lang.String |
getFactoryName()
|
java.lang.Object |
getProperty(java.lang.String name)
|
Pad |
requestSinkPad(Pad peer)
Requests a new sink pad to be created for the given peer. |
boolean |
setProperty(java.lang.String name,
java.lang.Object value)
The selected sink may be selected via the "selected" property - negative to select nothing |
Methods inherited from class com.fluendo.jst.Element |
abortState, addPad, addPadListener, continueState, enumPads, getBus, getClock, getMime, getPad, getState, getStateName, getStateNext, getStateReturnName, getTransition, getTransitionCurrent, getTransitionNext, lostState, noMorePads, postMessage, query, removePad, removePadListener, sendEvent, setBus, setClock, setState, toString, typeFind |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Selector
public Selector()
requestSinkPad
public Pad requestSinkPad(Pad peer)
- Requests a new sink pad to be created for the given peer.
The caps do not matter, as Selector is a caps agnostic element.
- Overrides:
requestSinkPad
in class Element
setProperty
public boolean setProperty(java.lang.String name,
java.lang.Object value)
- The selected sink may be selected via the "selected" property - negative to select nothing
- Overrides:
setProperty
in class Object
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Overrides:
getProperty
in class Object
getFactoryName
public java.lang.String getFactoryName()
- Specified by:
getFactoryName
in class Element