001package jmri.jmrix.powerline.dmx512; 002 003import jmri.jmrix.powerline.SerialReply; 004import jmri.jmrix.powerline.SerialTrafficController; 005 006/** 007 * Contains the data payload of a serial reply packet. Note that it's _only_ the 008 * payload. 009 * 010 * @author Bob Jacobsen Copyright (C) 2002, 2006, 2007, 2008 Converted to 011 * multiple connection 012 * @author Ken Cameron Copyright (C) 2023 013 */ 014public class SpecificReply extends SerialReply { 015 016 // create a new one 017 public SpecificReply(SerialTrafficController tc) { 018 super(tc); 019 setBinary(true); 020 } 021 022 public SpecificReply(String s, SerialTrafficController tc) { 023 super(tc, s); 024 setBinary(true); 025 } 026 027 public SpecificReply(SerialReply l, SerialTrafficController tc) { 028 super(tc, l); 029 setBinary(true); 030 } 031 032 @Override 033 public String toMonitorString() { 034 // check for valid length 035 StringBuilder sb = new StringBuilder(); 036 return sb.toString(); 037 } 038 039} 040 041