|
ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.mrstampy.esp.multiconnectionsocket.event.AbstractMultiConnectionEvent<E>
E - the element typepublic abstract class AbstractMultiConnectionEvent<E extends java.lang.Enum<E>>
The Class AbstractMultiConnectionEvent.
| Constructor Summary | |
|---|---|
protected |
AbstractMultiConnectionEvent(E type)
Instantiates a new abstract multi connection event. |
| Method Summary | |
|---|---|
long |
getCreateTimestamp()
Returns the time this event was created, use in lieu of received time as network latency may skew any time-based calculations. |
E |
getEventType()
Gets the event type. |
long |
getNanoTime()
"This method can only be used to measure elapsed time and is not related to any other notion of system or wall-clock time." Use only in comparison to other nanoTimes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractMultiConnectionEvent(E type)
type - the type| Method Detail |
|---|
public E getEventType()
public long getCreateTimestamp()
public long getNanoTime()
nanoTimes
System.nanoTime()
|
brought to you by Mr. Stampy | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||