jmri.jmrix.loconet.loconetovertcp
Class Server
java.lang.Object
jmri.jmrix.loconet.loconetovertcp.Server
public class Server
- extends Object
Implementation of the LocoNetOverTcp LbServer Server Protocol
- Author:
- Alex Shepherd Copyright (C) 2006
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setStateListner
public void setStateListner(ServerListner l)
getInstance
public static Server getInstance()
saveSettings
public void saveSettings()
getAutoStart
public boolean getAutoStart()
setAutoStart
public void setAutoStart(boolean start)
getPortNumber
public int getPortNumber()
setPortNumber
public void setPortNumber(int port)
isEnabled
public boolean isEnabled()
isSettingChanged
public boolean isSettingChanged()
enable
public void enable()
disable
public void disable()
updateServerStateListener
public void updateServerStateListener()
updateClinetStateListener
public void updateClinetStateListener()
addClient
protected void addClient(ClientRxHandler handler)
removeClient
protected void removeClient(ClientRxHandler handler)
getClientCount
public int getClientCount()
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: