// This file is part of the GridBee Web Computing Framework // // Copyright 2011 Budapest University of Technology and Economics, // Public Administration's Centre of Information Technology (BME IK) // // GridBee is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // GridBee is distributed in the hope that it will be useful // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with GridBee. If not, see . package gridbee.worksource.boinc.webrpc.result; import haxe.xml.Fast; class SetHostInfoRes { public var success : Bool; public function new(input : Fast) { if (input.hasNode.success) success = true; else success = false; } public function print() { trace('success: ' + success); } }