function setuserInput(commands)
{
PnutsUtil::setValue(engine, "Universe.userInput", commands.get("userInput"))
return (createModelAndView("
Done.
", null))
}
// コールバックを定義
function userInput(commands)
{
return (createModelAndView("p_HTTP_04.vm", null))
}
// サービス /userInput にそのコールバック関数userInputを登録
registService("/userInput", userInput)
registService("/setUserInput", setuserInput)
// HTTPサーバスレッドを起動
child = fork(HttpServiceThread)