edu.cmu.sphinx.frontend
Class Signal

java.lang.Object
  extended by edu.cmu.sphinx.frontend.Signal
All Implemented Interfaces:
Data, java.io.Serializable
Direct Known Subclasses:
DataEndSignal, DataStartSignal, SpeechEndSignal, SpeechStartSignal

public class Signal
extends java.lang.Object
implements Data

Indicates events like beginning or end of data, data dropped, quality changed, etc.. It implements the Data interface, and it will pass between DataProcessors to inform them about the Data that is passed between DataProcessors.

See Also:
Data, DataProcessor, Serialized Form

Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getProps()
          Returns the properties associated to this signal.
 long getTime()
          Returns the time this Signal was created.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTime

public long getTime()
Returns the time this Signal was created.

Returns:
the time this Signal was created

getProps

public java.util.Map<java.lang.String,java.lang.Object> getProps()
Returns the properties associated to this signal.