001package jmri.jmris.srcp; 002 003public class JmriSRCPServerPreferences extends jmri.jmris.AbstractServerPreferences { 004 005 public static final int DEFAULT_PORT = 2056; 006 static final String XML_PREFS_ELEMENT = "SRCPServerPreferences"; // NOI18N 007 static final String PORT = "port"; // NOI18N 008 009 public JmriSRCPServerPreferences(String fileName) { 010 super(fileName); 011 } 012 013 public JmriSRCPServerPreferences() { 014 super(); 015 } 016 017 @Override 018 public int getDefaultPort() { 019 return Integer.parseInt(Bundle.getMessage("JMRISRCPServerPort")); 020 } 021 022}