001package jmri.jmrix.ipocs.protocol.packets; 002 003import java.nio.ByteBuffer; 004 005/** 006 * Force an IPOCS unit to restart/reboot 007 * 008 * @author Fredrik Elestedt Copyright (C) 2020 009 * @since 4.21.2 010 */ 011@org.openide.util.lookup.ServiceProvider(service = Packet.class) 012public class ResetControllerPacket extends Packet { 013 public final static byte IDENT = 6; 014 015 @Override 016 public byte getId() { 017 return IDENT; 018 } 019 020 @Override 021 protected void parseSpecific(ByteBuffer buffer) { 022 } 023 024 @Override 025 protected byte[] serializeSpecific() { 026 return new byte[] {}; 027 } 028}