public Peer(java.lang.String name, int id, long connectionDelay, long connectionPeriod, long heartBeatDelay, long heartBeatPeriod, java.lang.String peerPath)
    {
        super(name);
        boolean __b = getAgentType() == peer.Peer.class;
        if (__b) {
            __init1();
            __init2();
        }
        java.lang.System.out.println(name + "\tstarted ");
        try {
            java.util.Scanner freader = new java.util.Scanner(new java.io.File(peerPath));
            java.lang.String[] onOffValues;
            while (freader.hasNext()) {
                onOffValues = freader.nextLine().split(" ");
                for (int i = 1; i < onOffValues.length; i++ ) {
                    if (onOffValues[0].equals(java.lang.Integer.toString(id))) 
                        onOffList[i - 1] = java.lang.Integer.parseInt(onOffValues[i]);
                }
            }
        }
        catch (java.lang.Exception ex) {
            java.lang.System.out.println("Exception occured: " + ex.getMessage());
        }
        if (__b) 
            startAgent();
    }