|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclarion.clarion.ClarionMemoryModel
public abstract class ClarionMemoryModel
Model clarion object on memory.
| Nested Class Summary | |
|---|---|
static class |
ClarionMemoryModel.State
|
| Constructor Summary | |
|---|---|
ClarionMemoryModel()
|
|
ClarionMemoryModel(ClarionMemoryModel base,
java.lang.Thread lock)
|
|
| Method Summary | |
|---|---|
void |
addChangeListener(ClarionMemoryChangeListener cmcl)
Listen for changes to the objects representation. |
void |
addChangeListener(ClarionMemoryChangeListener cmcl,
boolean strong)
|
ClarionMemoryModel |
castTo(java.lang.Class<? extends ClarionMemoryModel> clazz)
|
abstract void |
deserialize(java.io.InputStream os)
Read object from memory as clarion would represent object in memory |
int |
getListenerCount()
|
void |
initThread()
|
boolean |
isAnyoneInterestedInChange()
|
boolean |
isThreaded()
|
protected void |
lock(ClarionMemoryModel base,
java.lang.Thread t)
|
void |
notifyChange()
|
void |
removeChangeListener(ClarionMemoryChangeListener cmcl)
Stop Listening for changes to the objects representation |
abstract void |
serialize(java.io.OutputStream is)
Write java object to memory as clarion would represent object in memory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jclarion.clarion.Threaded |
|---|
getLockedObject |
| Constructor Detail |
|---|
public ClarionMemoryModel()
public ClarionMemoryModel(ClarionMemoryModel base,
java.lang.Thread lock)
| Method Detail |
|---|
protected void lock(ClarionMemoryModel base,
java.lang.Thread t)
public ClarionMemoryModel castTo(java.lang.Class<? extends ClarionMemoryModel> clazz)
public void initThread()
initThread in interface Threaded
public abstract void serialize(java.io.OutputStream is)
throws java.io.IOException
is -
java.io.IOException
public abstract void deserialize(java.io.InputStream os)
throws java.io.IOException
java.io.IOExceptionpublic void addChangeListener(ClarionMemoryChangeListener cmcl)
cmcl -
public void addChangeListener(ClarionMemoryChangeListener cmcl,
boolean strong)
public void removeChangeListener(ClarionMemoryChangeListener cmcl)
cmcl - public boolean isAnyoneInterestedInChange()
public int getListenerCount()
public void notifyChange()
public final boolean isThreaded()
isThreaded in interface Threaded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||