|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrit.withrottle.DeviceServer
public class DeviceServer
| Method Summary | |
|---|---|
void |
addDeviceListener(DeviceListener l)
Add a DeviceListener |
void |
closeSocket()
|
void |
closeThrottles()
|
String |
getCurrentAddressString()
|
String |
getName()
|
String |
getUDID()
|
static String |
getWebServerPort()
|
static String |
getWiTVersion()
|
void |
notifyControllerAddressFound(ThrottleController TC)
|
void |
notifyControllerAddressReleased(ThrottleController TC)
|
void |
removeDeviceListener(DeviceListener l)
Remove a DeviceListener |
void |
run()
|
void |
sendPacketToDevice(String message)
Called by various Controllers to send a string message to a connected device. |
String |
sendRoster()
Format a package to be sent to the device for roster list selections. |
void |
startEKG()
|
void |
stopEKG()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void run()
run in interface Runnablepublic void closeThrottles()
public void closeSocket()
public void startEKG()
public void stopEKG()
public String getUDID()
public String getName()
public String getCurrentAddressString()
public static String getWiTVersion()
public static String getWebServerPort()
public void sendPacketToDevice(String message)
sendPacketToDevice in interface ControllerInterfacemessage - The string to send.public void addDeviceListener(DeviceListener l)
l - public void removeDeviceListener(DeviceListener l)
l - public void notifyControllerAddressFound(ThrottleController TC)
notifyControllerAddressFound in interface ThrottleControllerListenerpublic void notifyControllerAddressReleased(ThrottleController TC)
notifyControllerAddressReleased in interface ThrottleControllerListenerpublic String sendRoster()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||