public class DataEndSignal extends Signal
Data
,
DataProcessor
,
Signal
Constructor and Description |
---|
DataEndSignal(long duration)
Constructs a DataEndSignal.
|
DataEndSignal(long duration,
long time)
Constructs a DataEndSignal with the given creation time.
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Returns the duration of the entire data stream in milliseconds
|
java.lang.String |
toString()
Returns the string "DataEndSignal".
|
public DataEndSignal(long duration)
duration
- the duration of the entire data stream in millisecondspublic DataEndSignal(long duration, long time)
duration
- the duration of the entire data stream in millisecondstime
- the creation time of the DataEndSignalpublic long getDuration()
public java.lang.String toString()
toString
in class java.lang.Object