Package jmri.jmrit.z21server
Class AppClient
- java.lang.Object
-
- jmri.jmrit.z21server.AppClient
-
public class AppClient extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AppClient(java.net.InetAddress address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addThrottle(int locoAddress, DccThrottle throttle)
java.net.InetAddress
getAddress()
byte[]
getLocoStatusMessage(java.lang.Integer locoAddress)
DccThrottle
getThrottleFromLocoAddress(int locoAddress)
void
heartbeat()
boolean
isTimestampExpired()
-
-
-
Constructor Detail
-
AppClient
public AppClient(java.net.InetAddress address)
-
-
Method Detail
-
addThrottle
public void addThrottle(int locoAddress, DccThrottle throttle)
-
getThrottleFromLocoAddress
public DccThrottle getThrottleFromLocoAddress(int locoAddress)
-
getAddress
public java.net.InetAddress getAddress()
-
heartbeat
public void heartbeat()
-
isTimestampExpired
public boolean isTimestampExpired()
-
getLocoStatusMessage
public byte[] getLocoStatusMessage(java.lang.Integer locoAddress)
-
-