类 SentenceEvent
java.lang.Object
java.util.EventObject
net.sf.marineapi.nmea.event.SentenceEvent
- 所有已实现的接口:
Serializable
Sentence events occur when a valid NMEA 0183 sentence has been read from the
data source.
- 作者:
- Kimmo Tuukkanen
- 另请参阅:
-
字段概要
从类继承的字段 java.util.EventObject
source -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Gets the Sentence object that triggered the event.longGet system time when this event was created.从类继承的方法 java.util.EventObject
getSource, toString
-
构造器详细资料
-
SentenceEvent
Creates a new SentenceEvent object.- 参数:
src- Object that fired the events- Sentence that triggered the event- 抛出:
IllegalArgumentException- If specified sentence isnull
-
-
方法详细资料
-
getSentence
Gets the Sentence object that triggered the event.- 返回:
- Sentence object
-
getTimeStamp
public long getTimeStamp()Get system time when this event was created.- 返回:
- Milliseconds timestamp
-