001package jmri.jmrix.ipocs.protocol.packets;
002
003import java.nio.ByteBuffer;
004
005/**
006 * Sign Of Life sent by IPOCS unit upon request by SignOfLifeTimerPacket.
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 SignOfLifePacket extends Packet {
013  public final static byte IDENT = 23;
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}