 1Content-type: application/x-Unknown; charset=UTF8package nmc.common;


public class SystemHardwiredInfo {

    public String  sidearmIpAddr;
    public int     sidearmRcvPort;

    public String  sidekickIpAddr;
    public int     sidekickRcvPort;

    public boolean debugging;     // use this to control timeouts, etc.

    private SystemHardwiredInfo(String sidearmIpAddr,  int sidearmRcvPort,
                        String sidekickIpAddr, int sidekickRcvPort) {
        
        this.sidearmIpAddr = sidearmIpAddr;
        this.sidearmRcvPort = sidearmRcvPort;

        this.sidekickIpAddr = sidekickIpAddr;
        this.sidekickRcvPort = sidekickRcvPort;

        this.debugging = true;
    }

    //
    // ADD SETTINGS HERE -- but keep the static fields 'private'
    //
    static private SystemHardwiredInfo PCTestbed = 
        new SystemHardwiredInfo("134.89.12.122", 8188, "134.89.12.66", 8190 );
    static private SystemHardwiredInfo IntegrationTest = 
        new SystemHardwiredInfo("192.168.0.2", 8188, "192.168.0.1", 8190 );

    //
    // CHANGE ONLY THIS 
    //
    static public SystemHardwiredInfo Current = IntegrationTest;


    /**
     * Returns a String that represents the value of this object.
     * @return a string representation of the receiver
     */
    public String toString() {
	// Insert code to print the receiver here.
	// This implementation forwards the message to super.
	// You may replace or supplement this.
	return "sidearmIpAddress = "
            + sidearmIpAddr
            + ", sidekickRcvPort = "
            + sidekickRcvPort
            + ", sidekickIpAddress = "
            + sidekickIpAddr
            + ", sideKickRcvPort = "
            + sidekickRcvPort
            + ";";
    }

}
