001package jmri.server.json.block;
002
003import jmri.Block;
004import jmri.server.json.JsonConnection;
005import jmri.server.json.JsonNamedBeanSocketService;
006
007/**
008 *
009 * @author mstevetodd Copyright (C) 2018 (copied from JsonMemorySocketService)
010 * @author Randall Wood
011 */
012public class JsonBlockSocketService extends JsonNamedBeanSocketService<Block, JsonBlockHttpService> {
013
014    public JsonBlockSocketService(JsonConnection connection) {
015        super(connection, new JsonBlockHttpService(connection.getObjectMapper()));
016    }
017}