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 TaskManagementDecision implements java.io.Serializable
00024 {
00025
00026 TaskAdopted,
00027
00028 TaskRejected,
00029
00030 TaskWaiting;
00031
00032 public void
00033 __write(IceInternal.BasicStream __os)
00034 {
00035 __os.writeByte((byte)ordinal());
00036 }
00037
00038 public static TaskManagementDecision
00039 __read(IceInternal.BasicStream __is)
00040 {
00041 int __v = __is.readByte(3);
00042 return values()[__v];
00043 }
00044
00045 public void
00046 ice_write(Ice.OutputStream __outS)
00047 {
00048 __outS.writeByte((byte)ordinal());
00049 }
00050
00051 public static TaskManagementDecision
00052 ice_read(Ice.InputStream __inS)
00053 {
00054 int __v = __inS.readByte();
00055 if(__v < 0 || __v >= 3)
00056 {
00057 throw new Ice.MarshalException("enumerator out of range");
00058 }
00059 return values()[__v];
00060 }
00061 }