Package jmri.jmris
Class ServiceHandler
- java.lang.Object
-
- jmri.jmris.ServiceHandler
-
- Direct Known Subclasses:
JmriSRCPServiceHandler
public class ServiceHandler extends java.lang.Object
This class provides access to the service handlers for individual object types which can be passed to a parser visitor object.
-
-
Constructor Summary
Constructors Constructor Description ServiceHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractLightServer
getLightServer()
AbstractPowerServer
getPowerServer()
AbstractProgrammerServer
getProgrammerServer()
AbstractSensorServer
getSensorServer()
AbstractThrottleServer
getThrottleServer()
AbstractTimeServer
getTimeServer()
AbstractTurnoutServer
getTurnoutServer()
void
setLightServer(AbstractLightServer ls)
void
setPowerServer(AbstractPowerServer ps)
void
setProgrammerServer(AbstractProgrammerServer ps)
void
setSensorServer(AbstractSensorServer ss)
void
setThrottleServer(AbstractThrottleServer ts)
void
setTimeServer(AbstractTimeServer ps)
void
setTurnoutServer(AbstractTurnoutServer ts)
-
-
-
Constructor Detail
-
ServiceHandler
public ServiceHandler()
-
-
Method Detail
-
setPowerServer
public void setPowerServer(AbstractPowerServer ps)
-
getPowerServer
public AbstractPowerServer getPowerServer()
-
setLightServer
public void setLightServer(AbstractLightServer ls)
-
getLightServer
public AbstractLightServer getLightServer()
-
setTurnoutServer
public void setTurnoutServer(AbstractTurnoutServer ts)
-
getTurnoutServer
public AbstractTurnoutServer getTurnoutServer()
-
setSensorServer
public void setSensorServer(AbstractSensorServer ss)
-
getSensorServer
public AbstractSensorServer getSensorServer()
-
setProgrammerServer
public void setProgrammerServer(AbstractProgrammerServer ps)
-
getProgrammerServer
public AbstractProgrammerServer getProgrammerServer()
-
setTimeServer
public void setTimeServer(AbstractTimeServer ps)
-
getTimeServer
public AbstractTimeServer getTimeServer()
-
setThrottleServer
public void setThrottleServer(AbstractThrottleServer ts)
-
getThrottleServer
public AbstractThrottleServer getThrottleServer()
-
-