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 interface _WorkingMemoryOperationsNC extends _CASTComponentOperationsNC
00024 {
00025 boolean exists(String id, String subarch)
00026 throws cast.UnknownSubarchitectureException;
00027
00028 int getVersionNumber(String id, String subarch)
00029 throws cast.DoesNotExistOnWMException,
00030 cast.UnknownSubarchitectureException;
00031
00032 cast.cdl.WorkingMemoryPermissions getPermissions(String id, String subarch)
00033 throws cast.DoesNotExistOnWMException,
00034 cast.UnknownSubarchitectureException;
00035
00036 void lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions)
00037 throws cast.DoesNotExistOnWMException,
00038 cast.UnknownSubarchitectureException;
00039
00040 boolean tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions)
00041 throws cast.DoesNotExistOnWMException,
00042 cast.UnknownSubarchitectureException;
00043
00044 void unlockEntry(String id, String subarch, String component)
00045 throws cast.ConsistencyException,
00046 cast.DoesNotExistOnWMException,
00047 cast.UnknownSubarchitectureException;
00048
00049 void setWorkingMemory(WorkingMemoryPrx wm, String subarch);
00050
00051 void addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry)
00052 throws cast.AlreadyExistsOnWMException,
00053 cast.UnknownSubarchitectureException;
00054
00055 void overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry)
00056 throws cast.DoesNotExistOnWMException,
00057 cast.UnknownSubarchitectureException;
00058
00059 void deleteFromWorkingMemory(String id, String subarch, String component)
00060 throws cast.DoesNotExistOnWMException,
00061 cast.UnknownSubarchitectureException;
00062
00063 cast.cdl.WorkingMemoryEntry getWorkingMemoryEntry(String id, String subarch, String component)
00064 throws cast.DoesNotExistOnWMException,
00065 cast.UnknownSubarchitectureException;
00066
00067 void getWorkingMemoryEntries(String type, String subarch, int count, String component, cast.cdl.WorkingMemoryEntrySeqHolder entries)
00068 throws cast.UnknownSubarchitectureException;
00069
00070 void registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority);
00071
00072 void removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter);
00073
00074 void registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority);
00075
00076 void removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter);
00077
00078 void addReader(WorkingMemoryReaderComponentPrx reader);
00079
00080 void receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc);
00081 }