Package jmri.jmrix.loconet
Class LocoNetThrottledTransmitter.Memo
- java.lang.Object
-
- jmri.jmrix.loconet.LocoNetThrottledTransmitter.Memo
-
- All Implemented Interfaces:
java.lang.Comparable<java.util.concurrent.Delayed>
,java.util.concurrent.Delayed
- Enclosing class:
- LocoNetThrottledTransmitter
static class LocoNetThrottledTransmitter.Memo extends java.lang.Object implements java.util.concurrent.Delayed
-
-
Field Summary
Fields Modifier and Type Field Description (package private) long
endTimeMsec
(package private) LocoNetMessage
msg
-
Constructor Summary
Constructors Constructor Description Memo(LocoNetMessage msg, long endTime, java.util.concurrent.TimeUnit unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.util.concurrent.Delayed d)
boolean
equals(java.lang.Object o)
long
getDelay(java.util.concurrent.TimeUnit unit)
(package private) LocoNetMessage
getMessage()
int
hashCode()
(package private) boolean
requestsShutDown()
-
-
-
Field Detail
-
endTimeMsec
long endTimeMsec
-
msg
LocoNetMessage msg
-
-
Constructor Detail
-
Memo
public Memo(LocoNetMessage msg, long endTime, java.util.concurrent.TimeUnit unit)
-
-
Method Detail
-
getMessage
LocoNetMessage getMessage()
-
requestsShutDown
boolean requestsShutDown()
-
getDelay
public long getDelay(java.util.concurrent.TimeUnit unit)
- Specified by:
getDelay
in interfacejava.util.concurrent.Delayed
-
compareTo
public int compareTo(java.util.concurrent.Delayed d)
- Specified by:
compareTo
in interfacejava.lang.Comparable<java.util.concurrent.Delayed>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-