00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 package cast.interfaces;
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 public abstract class _WorkingMemoryDisp extends Ice.ObjectImpl implements WorkingMemory
00024 {
00025 protected void
00026 ice_copyStateFrom(Ice.Object __obj)
00027 throws java.lang.CloneNotSupportedException
00028 {
00029 throw new java.lang.CloneNotSupportedException();
00030 }
00031
00032 public static final String[] __ids =
00033 {
00034 "::Ice::Object",
00035 "::cast::interfaces::CASTComponent",
00036 "::cast::interfaces::WorkingMemory"
00037 };
00038
00039 public boolean
00040 ice_isA(String s)
00041 {
00042 return java.util.Arrays.binarySearch(__ids, s) >= 0;
00043 }
00044
00045 public boolean
00046 ice_isA(String s, Ice.Current __current)
00047 {
00048 return java.util.Arrays.binarySearch(__ids, s) >= 0;
00049 }
00050
00051 public String[]
00052 ice_ids()
00053 {
00054 return __ids;
00055 }
00056
00057 public String[]
00058 ice_ids(Ice.Current __current)
00059 {
00060 return __ids;
00061 }
00062
00063 public String
00064 ice_id()
00065 {
00066 return __ids[2];
00067 }
00068
00069 public String
00070 ice_id(Ice.Current __current)
00071 {
00072 return __ids[2];
00073 }
00074
00075 public static String
00076 ice_staticId()
00077 {
00078 return __ids[2];
00079 }
00080
00081 public final void
00082 beat()
00083 {
00084 beat(null);
00085 }
00086
00087 public final void
00088 configure(java.util.Map<java.lang.String, java.lang.String> config)
00089 {
00090 configure(config, null);
00091 }
00092
00096 public final void
00097 destroy()
00098 {
00099 destroy(null);
00100 }
00101
00105 public final String
00106 getID()
00107 {
00108 return getID(null);
00109 }
00110
00111 public final void
00112 run()
00113 {
00114 run(null);
00115 }
00116
00117 public final void
00118 setComponentManager(ComponentManagerPrx man)
00119 {
00120 setComponentManager(man, null);
00121 }
00122
00123 public final void
00124 setID(String id)
00125 {
00126 setID(id, null);
00127 }
00128
00129 public final void
00130 setTimeServer(TimeServerPrx ts)
00131 {
00132 setTimeServer(ts, null);
00133 }
00134
00135 public final void
00136 start()
00137 {
00138 start(null);
00139 }
00140
00141 public final void
00142 stop()
00143 {
00144 stop(null);
00145 }
00146
00147 public final void
00148 addReader(WorkingMemoryReaderComponentPrx reader)
00149 {
00150 addReader(reader, null);
00151 }
00152
00153 public final void
00154 addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry)
00155 throws cast.AlreadyExistsOnWMException,
00156 cast.UnknownSubarchitectureException
00157 {
00158 addToWorkingMemory(id, subarch, type, component, entry, null);
00159 }
00160
00161 public final void
00162 deleteFromWorkingMemory(String id, String subarch, String component)
00163 throws cast.DoesNotExistOnWMException,
00164 cast.UnknownSubarchitectureException
00165 {
00166 deleteFromWorkingMemory(id, subarch, component, null);
00167 }
00168
00169 public final boolean
00170 exists(String id, String subarch)
00171 throws cast.UnknownSubarchitectureException
00172 {
00173 return exists(id, subarch, null);
00174 }
00175
00176 public final cast.cdl.WorkingMemoryPermissions
00177 getPermissions(String id, String subarch)
00178 throws cast.DoesNotExistOnWMException,
00179 cast.UnknownSubarchitectureException
00180 {
00181 return getPermissions(id, subarch, null);
00182 }
00183
00184 public final int
00185 getVersionNumber(String id, String subarch)
00186 throws cast.DoesNotExistOnWMException,
00187 cast.UnknownSubarchitectureException
00188 {
00189 return getVersionNumber(id, subarch, null);
00190 }
00191
00192 public final void
00193 getWorkingMemoryEntries(String type, String subarch, int count, String component, cast.cdl.WorkingMemoryEntrySeqHolder entries)
00194 throws cast.UnknownSubarchitectureException
00195 {
00196 getWorkingMemoryEntries(type, subarch, count, component, entries, null);
00197 }
00198
00199 public final cast.cdl.WorkingMemoryEntry
00200 getWorkingMemoryEntry(String id, String subarch, String component)
00201 throws cast.DoesNotExistOnWMException,
00202 cast.UnknownSubarchitectureException
00203 {
00204 return getWorkingMemoryEntry(id, subarch, component, null);
00205 }
00206
00207 public final void
00208 lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions)
00209 throws cast.DoesNotExistOnWMException,
00210 cast.UnknownSubarchitectureException
00211 {
00212 lockEntry(id, subarch, component, permissions, null);
00213 }
00214
00215 public final void
00216 overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry)
00217 throws cast.DoesNotExistOnWMException,
00218 cast.UnknownSubarchitectureException
00219 {
00220 overwriteWorkingMemory(id, subarch, type, component, entry, null);
00221 }
00222
00223 public final void
00224 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc)
00225 {
00226 receiveChangeEvent(wmc, null);
00227 }
00228
00229 public final void
00230 registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority)
00231 {
00232 registerComponentFilter(filter, priority, null);
00233 }
00234
00235 public final void
00236 registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority)
00237 {
00238 registerWorkingMemoryFilter(filter, subarch, priority, null);
00239 }
00240
00241 public final void
00242 removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter)
00243 {
00244 removeComponentFilter(filter, null);
00245 }
00246
00247 public final void
00248 removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter)
00249 {
00250 removeWorkingMemoryFilter(filter, null);
00251 }
00252
00253 public final void
00254 setWorkingMemory(WorkingMemoryPrx wm, String subarch)
00255 {
00256 setWorkingMemory(wm, subarch, null);
00257 }
00258
00259 public final boolean
00260 tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions)
00261 throws cast.DoesNotExistOnWMException,
00262 cast.UnknownSubarchitectureException
00263 {
00264 return tryLockEntry(id, subarch, component, permissions, null);
00265 }
00266
00267 public final void
00268 unlockEntry(String id, String subarch, String component)
00269 throws cast.ConsistencyException,
00270 cast.DoesNotExistOnWMException,
00271 cast.UnknownSubarchitectureException
00272 {
00273 unlockEntry(id, subarch, component, null);
00274 }
00275
00276 public static Ice.DispatchStatus
00277 ___exists(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00278 {
00279 __checkMode(Ice.OperationMode.Idempotent, __current.mode);
00280 IceInternal.BasicStream __is = __inS.is();
00281 __is.startReadEncaps();
00282 String id;
00283 id = __is.readString();
00284 String subarch;
00285 subarch = __is.readString();
00286 __is.endReadEncaps();
00287 IceInternal.BasicStream __os = __inS.os();
00288 try
00289 {
00290 boolean __ret = __obj.exists(id, subarch, __current);
00291 __os.writeBool(__ret);
00292 return Ice.DispatchStatus.DispatchOK;
00293 }
00294 catch(cast.UnknownSubarchitectureException ex)
00295 {
00296 __os.writeUserException(ex);
00297 return Ice.DispatchStatus.DispatchUserException;
00298 }
00299 }
00300
00301 public static Ice.DispatchStatus
00302 ___getVersionNumber(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00303 {
00304 __checkMode(Ice.OperationMode.Idempotent, __current.mode);
00305 IceInternal.BasicStream __is = __inS.is();
00306 __is.startReadEncaps();
00307 String id;
00308 id = __is.readString();
00309 String subarch;
00310 subarch = __is.readString();
00311 __is.endReadEncaps();
00312 IceInternal.BasicStream __os = __inS.os();
00313 try
00314 {
00315 int __ret = __obj.getVersionNumber(id, subarch, __current);
00316 __os.writeInt(__ret);
00317 return Ice.DispatchStatus.DispatchOK;
00318 }
00319 catch(cast.DoesNotExistOnWMException ex)
00320 {
00321 __os.writeUserException(ex);
00322 return Ice.DispatchStatus.DispatchUserException;
00323 }
00324 catch(cast.UnknownSubarchitectureException ex)
00325 {
00326 __os.writeUserException(ex);
00327 return Ice.DispatchStatus.DispatchUserException;
00328 }
00329 }
00330
00331 public static Ice.DispatchStatus
00332 ___getPermissions(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00333 {
00334 __checkMode(Ice.OperationMode.Idempotent, __current.mode);
00335 IceInternal.BasicStream __is = __inS.is();
00336 __is.startReadEncaps();
00337 String id;
00338 id = __is.readString();
00339 String subarch;
00340 subarch = __is.readString();
00341 __is.endReadEncaps();
00342 IceInternal.BasicStream __os = __inS.os();
00343 try
00344 {
00345 cast.cdl.WorkingMemoryPermissions __ret = __obj.getPermissions(id, subarch, __current);
00346 __ret.__write(__os);
00347 return Ice.DispatchStatus.DispatchOK;
00348 }
00349 catch(cast.DoesNotExistOnWMException ex)
00350 {
00351 __os.writeUserException(ex);
00352 return Ice.DispatchStatus.DispatchUserException;
00353 }
00354 catch(cast.UnknownSubarchitectureException ex)
00355 {
00356 __os.writeUserException(ex);
00357 return Ice.DispatchStatus.DispatchUserException;
00358 }
00359 }
00360
00361 public static Ice.DispatchStatus
00362 ___lockEntry(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00363 {
00364 __checkMode(Ice.OperationMode.Normal, __current.mode);
00365 IceInternal.BasicStream __is = __inS.is();
00366 __is.startReadEncaps();
00367 String id;
00368 id = __is.readString();
00369 String subarch;
00370 subarch = __is.readString();
00371 String component;
00372 component = __is.readString();
00373 cast.cdl.WorkingMemoryPermissions permissions;
00374 permissions = cast.cdl.WorkingMemoryPermissions.__read(__is);
00375 __is.endReadEncaps();
00376 IceInternal.BasicStream __os = __inS.os();
00377 try
00378 {
00379 __obj.lockEntry(id, subarch, component, permissions, __current);
00380 return Ice.DispatchStatus.DispatchOK;
00381 }
00382 catch(cast.DoesNotExistOnWMException ex)
00383 {
00384 __os.writeUserException(ex);
00385 return Ice.DispatchStatus.DispatchUserException;
00386 }
00387 catch(cast.UnknownSubarchitectureException ex)
00388 {
00389 __os.writeUserException(ex);
00390 return Ice.DispatchStatus.DispatchUserException;
00391 }
00392 }
00393
00394 public static Ice.DispatchStatus
00395 ___tryLockEntry(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00396 {
00397 __checkMode(Ice.OperationMode.Normal, __current.mode);
00398 IceInternal.BasicStream __is = __inS.is();
00399 __is.startReadEncaps();
00400 String id;
00401 id = __is.readString();
00402 String subarch;
00403 subarch = __is.readString();
00404 String component;
00405 component = __is.readString();
00406 cast.cdl.WorkingMemoryPermissions permissions;
00407 permissions = cast.cdl.WorkingMemoryPermissions.__read(__is);
00408 __is.endReadEncaps();
00409 IceInternal.BasicStream __os = __inS.os();
00410 try
00411 {
00412 boolean __ret = __obj.tryLockEntry(id, subarch, component, permissions, __current);
00413 __os.writeBool(__ret);
00414 return Ice.DispatchStatus.DispatchOK;
00415 }
00416 catch(cast.DoesNotExistOnWMException ex)
00417 {
00418 __os.writeUserException(ex);
00419 return Ice.DispatchStatus.DispatchUserException;
00420 }
00421 catch(cast.UnknownSubarchitectureException ex)
00422 {
00423 __os.writeUserException(ex);
00424 return Ice.DispatchStatus.DispatchUserException;
00425 }
00426 }
00427
00428 public static Ice.DispatchStatus
00429 ___unlockEntry(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00430 {
00431 __checkMode(Ice.OperationMode.Normal, __current.mode);
00432 IceInternal.BasicStream __is = __inS.is();
00433 __is.startReadEncaps();
00434 String id;
00435 id = __is.readString();
00436 String subarch;
00437 subarch = __is.readString();
00438 String component;
00439 component = __is.readString();
00440 __is.endReadEncaps();
00441 IceInternal.BasicStream __os = __inS.os();
00442 try
00443 {
00444 __obj.unlockEntry(id, subarch, component, __current);
00445 return Ice.DispatchStatus.DispatchOK;
00446 }
00447 catch(cast.ConsistencyException ex)
00448 {
00449 __os.writeUserException(ex);
00450 return Ice.DispatchStatus.DispatchUserException;
00451 }
00452 catch(cast.DoesNotExistOnWMException ex)
00453 {
00454 __os.writeUserException(ex);
00455 return Ice.DispatchStatus.DispatchUserException;
00456 }
00457 catch(cast.UnknownSubarchitectureException ex)
00458 {
00459 __os.writeUserException(ex);
00460 return Ice.DispatchStatus.DispatchUserException;
00461 }
00462 }
00463
00464 public static Ice.DispatchStatus
00465 ___setWorkingMemory(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00466 {
00467 __checkMode(Ice.OperationMode.Normal, __current.mode);
00468 IceInternal.BasicStream __is = __inS.is();
00469 __is.startReadEncaps();
00470 WorkingMemoryPrx wm;
00471 wm = WorkingMemoryPrxHelper.__read(__is);
00472 String subarch;
00473 subarch = __is.readString();
00474 __is.endReadEncaps();
00475 __obj.setWorkingMemory(wm, subarch, __current);
00476 return Ice.DispatchStatus.DispatchOK;
00477 }
00478
00479 public static Ice.DispatchStatus
00480 ___addToWorkingMemory(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00481 {
00482 __checkMode(Ice.OperationMode.Normal, __current.mode);
00483 IceInternal.BasicStream __is = __inS.is();
00484 __is.startReadEncaps();
00485 String id;
00486 id = __is.readString();
00487 String subarch;
00488 subarch = __is.readString();
00489 String type;
00490 type = __is.readString();
00491 String component;
00492 component = __is.readString();
00493 Ice.ObjectHolder entry = new Ice.ObjectHolder();
00494 __is.readObject(entry);
00495 __is.readPendingObjects();
00496 __is.endReadEncaps();
00497 IceInternal.BasicStream __os = __inS.os();
00498 try
00499 {
00500 __obj.addToWorkingMemory(id, subarch, type, component, entry.value, __current);
00501 return Ice.DispatchStatus.DispatchOK;
00502 }
00503 catch(cast.AlreadyExistsOnWMException ex)
00504 {
00505 __os.writeUserException(ex);
00506 return Ice.DispatchStatus.DispatchUserException;
00507 }
00508 catch(cast.UnknownSubarchitectureException ex)
00509 {
00510 __os.writeUserException(ex);
00511 return Ice.DispatchStatus.DispatchUserException;
00512 }
00513 }
00514
00515 public static Ice.DispatchStatus
00516 ___overwriteWorkingMemory(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00517 {
00518 __checkMode(Ice.OperationMode.Normal, __current.mode);
00519 IceInternal.BasicStream __is = __inS.is();
00520 __is.startReadEncaps();
00521 String id;
00522 id = __is.readString();
00523 String subarch;
00524 subarch = __is.readString();
00525 String type;
00526 type = __is.readString();
00527 String component;
00528 component = __is.readString();
00529 Ice.ObjectHolder entry = new Ice.ObjectHolder();
00530 __is.readObject(entry);
00531 __is.readPendingObjects();
00532 __is.endReadEncaps();
00533 IceInternal.BasicStream __os = __inS.os();
00534 try
00535 {
00536 __obj.overwriteWorkingMemory(id, subarch, type, component, entry.value, __current);
00537 return Ice.DispatchStatus.DispatchOK;
00538 }
00539 catch(cast.DoesNotExistOnWMException ex)
00540 {
00541 __os.writeUserException(ex);
00542 return Ice.DispatchStatus.DispatchUserException;
00543 }
00544 catch(cast.UnknownSubarchitectureException ex)
00545 {
00546 __os.writeUserException(ex);
00547 return Ice.DispatchStatus.DispatchUserException;
00548 }
00549 }
00550
00551 public static Ice.DispatchStatus
00552 ___deleteFromWorkingMemory(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00553 {
00554 __checkMode(Ice.OperationMode.Normal, __current.mode);
00555 IceInternal.BasicStream __is = __inS.is();
00556 __is.startReadEncaps();
00557 String id;
00558 id = __is.readString();
00559 String subarch;
00560 subarch = __is.readString();
00561 String component;
00562 component = __is.readString();
00563 __is.endReadEncaps();
00564 IceInternal.BasicStream __os = __inS.os();
00565 try
00566 {
00567 __obj.deleteFromWorkingMemory(id, subarch, component, __current);
00568 return Ice.DispatchStatus.DispatchOK;
00569 }
00570 catch(cast.DoesNotExistOnWMException ex)
00571 {
00572 __os.writeUserException(ex);
00573 return Ice.DispatchStatus.DispatchUserException;
00574 }
00575 catch(cast.UnknownSubarchitectureException ex)
00576 {
00577 __os.writeUserException(ex);
00578 return Ice.DispatchStatus.DispatchUserException;
00579 }
00580 }
00581
00582 public static Ice.DispatchStatus
00583 ___getWorkingMemoryEntry(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00584 {
00585 __checkMode(Ice.OperationMode.Normal, __current.mode);
00586 IceInternal.BasicStream __is = __inS.is();
00587 __is.startReadEncaps();
00588 String id;
00589 id = __is.readString();
00590 String subarch;
00591 subarch = __is.readString();
00592 String component;
00593 component = __is.readString();
00594 __is.endReadEncaps();
00595 IceInternal.BasicStream __os = __inS.os();
00596 try
00597 {
00598 cast.cdl.WorkingMemoryEntry __ret = __obj.getWorkingMemoryEntry(id, subarch, component, __current);
00599 __os.writeObject(__ret);
00600 __os.writePendingObjects();
00601 return Ice.DispatchStatus.DispatchOK;
00602 }
00603 catch(cast.DoesNotExistOnWMException ex)
00604 {
00605 __os.writeUserException(ex);
00606 return Ice.DispatchStatus.DispatchUserException;
00607 }
00608 catch(cast.UnknownSubarchitectureException ex)
00609 {
00610 __os.writeUserException(ex);
00611 return Ice.DispatchStatus.DispatchUserException;
00612 }
00613 }
00614
00615 public static Ice.DispatchStatus
00616 ___getWorkingMemoryEntries(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00617 {
00618 __checkMode(Ice.OperationMode.Normal, __current.mode);
00619 IceInternal.BasicStream __is = __inS.is();
00620 __is.startReadEncaps();
00621 String type;
00622 type = __is.readString();
00623 String subarch;
00624 subarch = __is.readString();
00625 int count;
00626 count = __is.readInt();
00627 String component;
00628 component = __is.readString();
00629 __is.endReadEncaps();
00630 cast.cdl.WorkingMemoryEntrySeqHolder entries = new cast.cdl.WorkingMemoryEntrySeqHolder();
00631 IceInternal.BasicStream __os = __inS.os();
00632 try
00633 {
00634 __obj.getWorkingMemoryEntries(type, subarch, count, component, entries, __current);
00635 cast.cdl.WorkingMemoryEntrySeqHelper.write(__os, entries.value);
00636 __os.writePendingObjects();
00637 return Ice.DispatchStatus.DispatchOK;
00638 }
00639 catch(cast.UnknownSubarchitectureException ex)
00640 {
00641 __os.writeUserException(ex);
00642 return Ice.DispatchStatus.DispatchUserException;
00643 }
00644 }
00645
00646 public static Ice.DispatchStatus
00647 ___registerComponentFilter(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00648 {
00649 __checkMode(Ice.OperationMode.Normal, __current.mode);
00650 IceInternal.BasicStream __is = __inS.is();
00651 __is.startReadEncaps();
00652 cast.cdl.WorkingMemoryChangeFilter filter;
00653 filter = new cast.cdl.WorkingMemoryChangeFilter();
00654 filter.__read(__is);
00655 int priority;
00656 priority = __is.readInt();
00657 __is.endReadEncaps();
00658 __obj.registerComponentFilter(filter, priority, __current);
00659 return Ice.DispatchStatus.DispatchOK;
00660 }
00661
00662 public static Ice.DispatchStatus
00663 ___removeComponentFilter(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00664 {
00665 __checkMode(Ice.OperationMode.Normal, __current.mode);
00666 IceInternal.BasicStream __is = __inS.is();
00667 __is.startReadEncaps();
00668 cast.cdl.WorkingMemoryChangeFilter filter;
00669 filter = new cast.cdl.WorkingMemoryChangeFilter();
00670 filter.__read(__is);
00671 __is.endReadEncaps();
00672 __obj.removeComponentFilter(filter, __current);
00673 return Ice.DispatchStatus.DispatchOK;
00674 }
00675
00676 public static Ice.DispatchStatus
00677 ___registerWorkingMemoryFilter(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00678 {
00679 __checkMode(Ice.OperationMode.Normal, __current.mode);
00680 IceInternal.BasicStream __is = __inS.is();
00681 __is.startReadEncaps();
00682 cast.cdl.WorkingMemoryChangeFilter filter;
00683 filter = new cast.cdl.WorkingMemoryChangeFilter();
00684 filter.__read(__is);
00685 String subarch;
00686 subarch = __is.readString();
00687 int priority;
00688 priority = __is.readInt();
00689 __is.endReadEncaps();
00690 __obj.registerWorkingMemoryFilter(filter, subarch, priority, __current);
00691 return Ice.DispatchStatus.DispatchOK;
00692 }
00693
00694 public static Ice.DispatchStatus
00695 ___removeWorkingMemoryFilter(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00696 {
00697 __checkMode(Ice.OperationMode.Normal, __current.mode);
00698 IceInternal.BasicStream __is = __inS.is();
00699 __is.startReadEncaps();
00700 cast.cdl.WorkingMemoryChangeFilter filter;
00701 filter = new cast.cdl.WorkingMemoryChangeFilter();
00702 filter.__read(__is);
00703 __is.endReadEncaps();
00704 __obj.removeWorkingMemoryFilter(filter, __current);
00705 return Ice.DispatchStatus.DispatchOK;
00706 }
00707
00708 public static Ice.DispatchStatus
00709 ___addReader(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00710 {
00711 __checkMode(Ice.OperationMode.Normal, __current.mode);
00712 IceInternal.BasicStream __is = __inS.is();
00713 __is.startReadEncaps();
00714 WorkingMemoryReaderComponentPrx reader;
00715 reader = WorkingMemoryReaderComponentPrxHelper.__read(__is);
00716 __is.endReadEncaps();
00717 __obj.addReader(reader, __current);
00718 return Ice.DispatchStatus.DispatchOK;
00719 }
00720
00721 public static Ice.DispatchStatus
00722 ___receiveChangeEvent(WorkingMemory __obj, IceInternal.Incoming __inS, Ice.Current __current)
00723 {
00724 __checkMode(Ice.OperationMode.Normal, __current.mode);
00725 IceInternal.BasicStream __is = __inS.is();
00726 __is.startReadEncaps();
00727 cast.cdl.WorkingMemoryChange wmc;
00728 wmc = new cast.cdl.WorkingMemoryChange();
00729 wmc.__read(__is);
00730 __is.endReadEncaps();
00731 __obj.receiveChangeEvent(wmc, __current);
00732 return Ice.DispatchStatus.DispatchOK;
00733 }
00734
00735 private final static String[] __all =
00736 {
00737 "addReader",
00738 "addToWorkingMemory",
00739 "beat",
00740 "configure",
00741 "deleteFromWorkingMemory",
00742 "destroy",
00743 "exists",
00744 "getID",
00745 "getPermissions",
00746 "getVersionNumber",
00747 "getWorkingMemoryEntries",
00748 "getWorkingMemoryEntry",
00749 "ice_id",
00750 "ice_ids",
00751 "ice_isA",
00752 "ice_ping",
00753 "lockEntry",
00754 "overwriteWorkingMemory",
00755 "receiveChangeEvent",
00756 "registerComponentFilter",
00757 "registerWorkingMemoryFilter",
00758 "removeComponentFilter",
00759 "removeWorkingMemoryFilter",
00760 "run",
00761 "setComponentManager",
00762 "setID",
00763 "setTimeServer",
00764 "setWorkingMemory",
00765 "start",
00766 "stop",
00767 "tryLockEntry",
00768 "unlockEntry"
00769 };
00770
00771 public Ice.DispatchStatus
00772 __dispatch(IceInternal.Incoming in, Ice.Current __current)
00773 {
00774 int pos = java.util.Arrays.binarySearch(__all, __current.operation);
00775 if(pos < 0)
00776 {
00777 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00778 }
00779
00780 switch(pos)
00781 {
00782 case 0:
00783 {
00784 return ___addReader(this, in, __current);
00785 }
00786 case 1:
00787 {
00788 return ___addToWorkingMemory(this, in, __current);
00789 }
00790 case 2:
00791 {
00792 return _CASTComponentDisp.___beat(this, in, __current);
00793 }
00794 case 3:
00795 {
00796 return _CASTComponentDisp.___configure(this, in, __current);
00797 }
00798 case 4:
00799 {
00800 return ___deleteFromWorkingMemory(this, in, __current);
00801 }
00802 case 5:
00803 {
00804 return _CASTComponentDisp.___destroy(this, in, __current);
00805 }
00806 case 6:
00807 {
00808 return ___exists(this, in, __current);
00809 }
00810 case 7:
00811 {
00812 return _CASTComponentDisp.___getID(this, in, __current);
00813 }
00814 case 8:
00815 {
00816 return ___getPermissions(this, in, __current);
00817 }
00818 case 9:
00819 {
00820 return ___getVersionNumber(this, in, __current);
00821 }
00822 case 10:
00823 {
00824 return ___getWorkingMemoryEntries(this, in, __current);
00825 }
00826 case 11:
00827 {
00828 return ___getWorkingMemoryEntry(this, in, __current);
00829 }
00830 case 12:
00831 {
00832 return ___ice_id(this, in, __current);
00833 }
00834 case 13:
00835 {
00836 return ___ice_ids(this, in, __current);
00837 }
00838 case 14:
00839 {
00840 return ___ice_isA(this, in, __current);
00841 }
00842 case 15:
00843 {
00844 return ___ice_ping(this, in, __current);
00845 }
00846 case 16:
00847 {
00848 return ___lockEntry(this, in, __current);
00849 }
00850 case 17:
00851 {
00852 return ___overwriteWorkingMemory(this, in, __current);
00853 }
00854 case 18:
00855 {
00856 return ___receiveChangeEvent(this, in, __current);
00857 }
00858 case 19:
00859 {
00860 return ___registerComponentFilter(this, in, __current);
00861 }
00862 case 20:
00863 {
00864 return ___registerWorkingMemoryFilter(this, in, __current);
00865 }
00866 case 21:
00867 {
00868 return ___removeComponentFilter(this, in, __current);
00869 }
00870 case 22:
00871 {
00872 return ___removeWorkingMemoryFilter(this, in, __current);
00873 }
00874 case 23:
00875 {
00876 return _CASTComponentDisp.___run(this, in, __current);
00877 }
00878 case 24:
00879 {
00880 return _CASTComponentDisp.___setComponentManager(this, in, __current);
00881 }
00882 case 25:
00883 {
00884 return _CASTComponentDisp.___setID(this, in, __current);
00885 }
00886 case 26:
00887 {
00888 return _CASTComponentDisp.___setTimeServer(this, in, __current);
00889 }
00890 case 27:
00891 {
00892 return ___setWorkingMemory(this, in, __current);
00893 }
00894 case 28:
00895 {
00896 return _CASTComponentDisp.___start(this, in, __current);
00897 }
00898 case 29:
00899 {
00900 return _CASTComponentDisp.___stop(this, in, __current);
00901 }
00902 case 30:
00903 {
00904 return ___tryLockEntry(this, in, __current);
00905 }
00906 case 31:
00907 {
00908 return ___unlockEntry(this, in, __current);
00909 }
00910 }
00911
00912 assert(false);
00913 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00914 }
00915
00916 public void
00917 __write(IceInternal.BasicStream __os)
00918 {
00919 __os.writeTypeId(ice_staticId());
00920 __os.startWriteSlice();
00921 __os.endWriteSlice();
00922 super.__write(__os);
00923 }
00924
00925 public void
00926 __read(IceInternal.BasicStream __is, boolean __rid)
00927 {
00928 if(__rid)
00929 {
00930 __is.readTypeId();
00931 }
00932 __is.startReadSlice();
00933 __is.endReadSlice();
00934 super.__read(__is, true);
00935 }
00936
00937 public void
00938 __write(Ice.OutputStream __outS)
00939 {
00940 __outS.writeTypeId(ice_staticId());
00941 __outS.startSlice();
00942 __outS.endSlice();
00943 super.__write(__outS);
00944 }
00945
00946 public void
00947 __read(Ice.InputStream __inS, boolean __rid)
00948 {
00949 if(__rid)
00950 {
00951 __inS.readTypeId();
00952 }
00953 __inS.startSlice();
00954 __inS.endSlice();
00955 super.__read(__inS, true);
00956 }
00957 }