00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 package cast.cdl;
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 public enum TaskOutcome implements java.io.Serializable
00024 {
00025
00026 ProcessingIncomplete,
00027
00028 ProcessingComplete,
00029
00030 ProcessingCompleteSuccess,
00031
00032 ProcessingCompleteFailure;
00033
00034 public void
00035 __write(IceInternal.BasicStream __os)
00036 {
00037 __os.writeByte((byte)ordinal());
00038 }
00039
00040 public static TaskOutcome
00041 __read(IceInternal.BasicStream __is)
00042 {
00043 int __v = __is.readByte(4);
00044 return values()[__v];
00045 }
00046
00047 public void
00048 ice_write(Ice.OutputStream __outS)
00049 {
00050 __outS.writeByte((byte)ordinal());
00051 }
00052
00053 public static TaskOutcome
00054 ice_read(Ice.InputStream __inS)
00055 {
00056 int __v = __inS.readByte();
00057 if(__v < 0 || __v >= 4)
00058 {
00059 throw new Ice.MarshalException("enumerator out of range");
00060 }
00061 return values()[__v];
00062 }
00063 }