com.fluendo.jst

Class Element

public abstract class Element extends Object

Field Summary
static intASYNC
static intELEMENT_FLAG_LAST
static intFAILURE
static intFLAG_IS_SINK
static intNONE
static intNO_PREROLL
static intPAUSE
static intPAUSE_PLAY
static intPAUSE_STOP
static intPLAY
static intPLAY_PAUSE
static String[]stateReturnNames
static intSTOP
static intSTOP_PAUSE
static intSUCCESS
Constructor Summary
Element()
Element(String name)
Method Summary
voidabortState()
booleanaddPad(Pad newPad)
voidaddPadListener(PadListener listener)
intcontinueState(int result)
EnumerationenumPads()
BusgetBus()
ClockgetClock()
abstract StringgetFactoryName()
StringgetMime()
PadgetPad(String name)
intgetState(int[] resState, int[] resPending, long timeout)
static StringgetStateName(int state)
intgetStateNext(int current, int pending)
static StringgetStateReturnName(int ret)
intgetTransition(int current, int next)
intgetTransitionCurrent(int transition)
intgetTransitionNext(int transition)
voidlostState()
voidnoMorePads()
voidpostMessage(Message message)
booleanquery(Query query)
booleanremovePad(Pad aPad)
voidremovePadListener(PadListener listener)
PadrequestSinkPad(Pad peer)
booleansendEvent(Event event)
voidsetBus(Bus newBus)
voidsetClock(Clock newClock)
intsetState(int newState)
StringtoString()
inttypeFind(byte[] data, int offset, int length)

Field Detail

ASYNC

public static final int ASYNC

ELEMENT_FLAG_LAST

public static final int ELEMENT_FLAG_LAST

FAILURE

public static final int FAILURE

FLAG_IS_SINK

public static final int FLAG_IS_SINK

NONE

public static final int NONE

NO_PREROLL

public static final int NO_PREROLL

PAUSE

public static final int PAUSE

PAUSE_PLAY

public static final int PAUSE_PLAY

PAUSE_STOP

public static final int PAUSE_STOP

PLAY

public static final int PLAY

PLAY_PAUSE

public static final int PLAY_PAUSE

stateReturnNames

public static String[] stateReturnNames

STOP

public static final int STOP

STOP_PAUSE

public static final int STOP_PAUSE

SUCCESS

public static final int SUCCESS

Constructor Detail

Element

public Element()

Element

public Element(String name)

Method Detail

abortState

public void abortState()

addPad

public boolean addPad(Pad newPad)

addPadListener

public void addPadListener(PadListener listener)

continueState

public int continueState(int result)

enumPads

public Enumeration enumPads()

getBus

public Bus getBus()

getClock

public Clock getClock()

getFactoryName

public abstract String getFactoryName()

getMime

public String getMime()

getPad

public Pad getPad(String name)

getState

public int getState(int[] resState, int[] resPending, long timeout)

getStateName

public static String getStateName(int state)

getStateNext

public int getStateNext(int current, int pending)

getStateReturnName

public static String getStateReturnName(int ret)

getTransition

public int getTransition(int current, int next)

getTransitionCurrent

public int getTransitionCurrent(int transition)

getTransitionNext

public int getTransitionNext(int transition)

lostState

public void lostState()

noMorePads

public void noMorePads()

postMessage

public void postMessage(Message message)

query

public boolean query(Query query)

removePad

public boolean removePad(Pad aPad)

removePadListener

public void removePadListener(PadListener listener)

requestSinkPad

public Pad requestSinkPad(Pad peer)

sendEvent

public boolean sendEvent(Event event)

setBus

public void setBus(Bus newBus)

setClock

public void setClock(Clock newClock)

setState

public final int setState(int newState)

toString

public String toString()

typeFind

public int typeFind(byte[] data, int offset, int length)