001package jmri.server.json.oblock; 002 003import jmri.jmrit.logix.OBlock; 004import jmri.server.json.JsonConnection; 005import jmri.server.json.JsonNamedBeanSocketService; 006 007/** 008 * Copied from jmri/server/json/blocks.java EB 2020 009 010 * @author mstevetodd Copyright (C) 2018 011 * @author Randall Wood 012 */ 013public class JsonOblockSocketService extends JsonNamedBeanSocketService<OBlock, JsonOblockHttpService> { 014 015 public JsonOblockSocketService(JsonConnection connection) { 016 super(connection, new JsonOblockHttpService(connection.getObjectMapper())); 017 } 018 019}