public boolean testCondition(int __index) throws java.lang.Exception { switch (__index) { } aos.jack.jak.core.Jak.error("illegal test Construction"); return false; }
public aos.jack.jak.fsm.FSM genFSM(int __index) throws java.lang.Exception { switch (__index) { } aos.jack.jak.core.Jak.error("illegal FSM Construction"); return null; }
public java.lang.Object genObject(int __index) { switch (__index) { } aos.jack.jak.core.Jak.error("illegal Object Construction"); return null; }
public aos.jack.jak.cursor.Cursor genCursor(int __index) throws java.lang.Exception { switch (__index) { } aos.jack.jak.core.Jak.error("illegal Cursor Construction"); return null; }
public int run(int __status) throws java.lang.Throwable { do { try { if (__tothrow != null) throw __tothrow; if ((aos.jack.jak.core.Jak.debugging & aos.jack.jak.core.Jak.LOG_PLANS) != 0) aos.util.logging.LogMsg.log( this, aos.jack.jak.core.Jak.LOG_PLANS, __task + "-AuthenticateToServer.body:" + java.lang.Integer.toString(__state)); if (__task.nsteps > 0) { __task.nsteps--; if (__task.nsteps == 0) agent.changeFocus(); } if (__state < 10) { __status = super.stdrun(rmit.ai.clima.jackagt.plans.AuthenticateToServer.this, __status); if (__status != CONTINUE || agent.changing_focus) return __status; continue; } __curstate = __state; switch (__state) { default: { aos.jack.jak.core.Jak.error("AuthenticateToServer.body: Illegal state"); return FAILED_STATE; } // * (50) getAgent().timer = clima_timer_dat; case 10: { __breakLevel = 0; __state = 11; // Get the agent name and construct the agent's path getAgent().timer = clima_timer_dat; break; } // * (51) String path = "clima.agent." + getAgent().getBasename(); case 11: { __local__0_0 = "clima.agent." + getAgent().getBasename(); __state = 12; break; } // * (55) @subtask(tellclimaserver_p.tell( new AuthRequest ( case 12: { __task.push( tellclimaserver_p.tell( new rmit.ai.clima.comms.AuthRequest( java.lang.System.getProperty(__local__0_0 + ".username"), java.lang.System.getProperty(__local__0_0 + ".password")))); __state = -__state; __subtask_pass = 13; __subtask_fail = 4; return SUBTASK; } // * (46) #reasoning method case 13: { if (__pending == null) __state = PASSED_STATE; __tothrow = __pending; break; } } } catch (java.lang.Throwable e) { handleException(e, __exMap_body); } } while (!agent.changing_focus); return CONTINUE; }