ResultFromProlog.java

00001 /* 
00002 ** Author(s): Miguel Calejo
00003 ** Contact:   interprolog@declarativa.com, http://www.declarativa.com
00004 ** Copyright (C) Declarativa, Portugal, 2000-2002
00005 ** Use and distribution, without any warranties, under the terms of the 
00006 ** GNU Library General Public License, readable in http://www.fsf.org/copyleft/lgpl.html
00007 */
00008 package com.declarativa.interprolog.util;
00009 import java.io.Serializable;
00011 public class ResultFromProlog implements Serializable{
00013         public int timestamp;
00015         public boolean succeeded;
00017         public Object[] rVars;
00019         public String error;
00020         public ResultFromProlog(int t,boolean s,int size,String e){
00021                 rVars = new Object[size];
00022                 timestamp=t; succeeded=s; error=e;
00023         }
00024         public String toString(){
00025                 return "ResultFromProlog: timestamp=="+timestamp+", error=="+error;
00026         }
00027 }
00028 

Generated on Wed Jul 26 13:30:44 2006 for XSB by  doxygen 1.4.5