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 WorkingMemoryLockRequest implements java.io.Serializable
00024 {
00025
00026 REQUESTLOCKO,
00027
00028 REQUESTLOCKOD,
00029
00030 REQUESTLOCKODR,
00031
00032 REQUESTTRYLOCKO,
00033
00034 REQUESTTRYLOCKOD,
00035
00036 REQUESTTRYLOCKODR,
00037
00038 REQUESTUNLOCK,
00039
00040 REQUESTSTATUS;
00041
00042 public void
00043 __write(IceInternal.BasicStream __os)
00044 {
00045 __os.writeByte((byte)ordinal());
00046 }
00047
00048 public static WorkingMemoryLockRequest
00049 __read(IceInternal.BasicStream __is)
00050 {
00051 int __v = __is.readByte(8);
00052 return values()[__v];
00053 }
00054
00055 public void
00056 ice_write(Ice.OutputStream __outS)
00057 {
00058 __outS.writeByte((byte)ordinal());
00059 }
00060
00061 public static WorkingMemoryLockRequest
00062 ice_read(Ice.InputStream __inS)
00063 {
00064 int __v = __inS.readByte();
00065 if(__v < 0 || __v >= 8)
00066 {
00067 throw new Ice.MarshalException("enumerator out of range");
00068 }
00069 return values()[__v];
00070 }
00071 }