001/* jpvmTaskStatus.java 002 * 003 * A class containing the process status for a host in the 004 * parallel virtual machine. 005 * 006 * Adam J Ferrari 007 * Sun 05-26-1996 008 * 009 * Copyright (C) 1996 Adam J Ferrari 010 * 011 * This library is free software; you can redistribute it and/or 012 * modify it under the terms of the GNU Library General Public 013 * License as published by the Free Software Foundation; either 014 * version 2 of the License, or (at your option) any later version. 015 * 016 * This library is distributed in the hope that it will be useful, 017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 019 * Library General Public License for more details. 020 * 021 * You should have received a copy of the GNU Library General Public 022 * License along with this library; if not, write to the 023 * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, 024 * MA 02139, USA. 025 */ 026 027package jpvm; 028import jpvm.jpvmTaskId; 029 030public 031class jpvmTaskStatus { 032 public String hostName; 033 public int numTasks; 034 public String taskNames[]; 035 public jpvmTaskId taskTids[]; 036 037 public jpvmTaskStatus() { 038 hostName = null; 039 numTasks = 0; 040 taskNames = null; 041 taskTids = null; 042 } 043 044 public jpvmTaskStatus(int n) { 045 hostName = null; 046 numTasks = n; 047 taskNames = new String[n]; 048 taskTids = new jpvmTaskId[n]; 049 } 050};