com.fluendo.jst
Class Element
java.lang.Object
com.fluendo.jst.Object
com.fluendo.jst.Element
- Direct Known Subclasses:
- HTTPSrc, JPEGDec, KateDec, MulawDec, MultipartDemux, OggDemux, Overlay, Pipeline, Queue, Selector, Sink, SmokeDec, TheoraDec, VorbisDec
public abstract class Element
- extends Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FLAG_IS_SINK
public static final int FLAG_IS_SINK
- See Also:
- Constant Field Values
ELEMENT_FLAG_LAST
public static final int ELEMENT_FLAG_LAST
- See Also:
- Constant Field Values
NONE
public static final int NONE
- See Also:
- Constant Field Values
STOP
public static final int STOP
- See Also:
- Constant Field Values
PAUSE
public static final int PAUSE
- See Also:
- Constant Field Values
PLAY
public static final int PLAY
- See Also:
- Constant Field Values
STOP_PAUSE
public static final int STOP_PAUSE
- See Also:
- Constant Field Values
PAUSE_PLAY
public static final int PAUSE_PLAY
- See Also:
- Constant Field Values
PLAY_PAUSE
public static final int PLAY_PAUSE
- See Also:
- Constant Field Values
PAUSE_STOP
public static final int PAUSE_STOP
- See Also:
- Constant Field Values
FAILURE
public static final int FAILURE
- See Also:
- Constant Field Values
SUCCESS
public static final int SUCCESS
- See Also:
- Constant Field Values
ASYNC
public static final int ASYNC
- See Also:
- Constant Field Values
NO_PREROLL
public static final int NO_PREROLL
- See Also:
- Constant Field Values
stateReturnNames
public static java.lang.String[] stateReturnNames
Element
public Element()
Element
public Element(java.lang.String name)
getStateName
public static java.lang.String getStateName(int state)
getStateReturnName
public static java.lang.String getStateReturnName(int ret)
getMime
public java.lang.String getMime()
getFactoryName
public abstract java.lang.String getFactoryName()
typeFind
public int typeFind(byte[] data,
int offset,
int length)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setClock
public void setClock(Clock newClock)
getClock
public Clock getClock()
setBus
public void setBus(Bus newBus)
getBus
public Bus getBus()
addPadListener
public void addPadListener(PadListener listener)
removePadListener
public void removePadListener(PadListener listener)
getPad
public Pad getPad(java.lang.String name)
addPad
public boolean addPad(Pad newPad)
removePad
public boolean removePad(Pad aPad)
noMorePads
public void noMorePads()
enumPads
public java.util.Enumeration enumPads()
postMessage
public void postMessage(Message message)
getState
public int getState(int[] resState,
int[] resPending,
long timeout)
getStateNext
public int getStateNext(int current,
int pending)
getTransition
public int getTransition(int current,
int next)
getTransitionCurrent
public int getTransitionCurrent(int transition)
getTransitionNext
public int getTransitionNext(int transition)
continueState
public int continueState(int result)
abortState
public void abortState()
lostState
public void lostState()
setState
public final int setState(int newState)
sendEvent
public boolean sendEvent(Event event)
query
public boolean query(Query query)
requestSinkPad
public Pad requestSinkPad(Pad peer)