001package jmri.jmrix.acela; 002 003 004/** 005 * Contains the data payload of an Acela reply packet 006 * 007 * @author Bob Jacobsen Copyright (C) 2002 008 * 009 * @author Bob Coleman, Copyright (C) 2007, 2008 Based on CMRI serial example, 010 * modified to establish Acela support. 011 */ 012public class AcelaReply extends jmri.jmrix.AbstractMRReply { 013 014 // Create a new one 015 public AcelaReply() { 016 super(); 017 } 018 019 public AcelaReply(String s) { 020 super(s); 021 } 022 023 public AcelaReply(AcelaReply l) { 024 super(l); 025 l.setBinary(true); 026 } 027 028 // Must be here since it is declared abstract 029 @Override 030 protected int skipPrefix(int index) { 031 // doesn't have to do anything 032 return index; 033 } 034}