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
JSON socket service provider for managing
Routes.-
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, managerListenerFields inherited from class jmri.server.json.JsonSocketService
connection, service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddListenerToBean(Route bean) voidonClose()Perform any teardown required when closing a connection.Methods inherited from class jmri.server.json.JsonNamedBeanSocketService
addListenerToBean, onList, onMessage, removeListenersFromRemovedBeansMethods inherited from class jmri.server.json.JsonSocketService
getConnection, getHttpService, getLocale, getVersion
-
Constructor Details
-
JsonRouteSocketService
-
-
Method Details
-
addListenerToBean
- Overrides:
addListenerToBeanin classJsonNamedBeanSocketService<Route,JsonRouteHttpService>
-
onClose
Description copied from class:JsonSocketServicePerform any teardown required when closing a connection.- Overrides:
onClosein classJsonNamedBeanSocketService<Route,JsonRouteHttpService>
-