Package jmri.server.json.route
Class JsonRouteSocketService
java.lang.Object
jmri.server.json.JsonSocketService<H>
jmri.server.json.JsonNamedBeanSocketService<Route,JsonRouteHttpService>
jmri.server.json.route.JsonRouteSocketService
public class JsonRouteSocketService extends JsonNamedBeanSocketService<Route,JsonRouteHttpService>
JSON socket service provider for managing
Route
s.-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.server.json.JsonNamedBeanSocketService
JsonNamedBeanSocketService.ManagerListener, JsonNamedBeanSocketService.NamedBeanListener
-
Field Summary
Fields inherited from class jmri.server.json.JsonNamedBeanSocketService
beanListeners, managerListener
-
Constructor Summary
Constructors Constructor Description JsonRouteSocketService(JsonConnection connection)
-
Method Summary
Modifier and Type Method Description protected void
addListenerToBean(Route bean)
void
onClose()
Perform any teardown required when closing a connection.Methods inherited from class jmri.server.json.JsonNamedBeanSocketService
addListenerToBean, onList, onMessage, removeListenersFromRemovedBeans
Methods inherited from class jmri.server.json.JsonSocketService
getConnection, getHttpService, getLocale, getVersion, onList, onMessage, setLocale
-
Constructor Details
-
Method Details
-
addListenerToBean
- Overrides:
addListenerToBean
in classJsonNamedBeanSocketService<Route,JsonRouteHttpService>
-
onClose
Description copied from class:JsonSocketService
Perform any teardown required when closing a connection.- Overrides:
onClose
in classJsonNamedBeanSocketService<Route,JsonRouteHttpService>
-