org.jclarion.clarion.runtime
Class ManyGlue

java.lang.Object
  extended by org.jclarion.clarion.ClarionMemoryModel
      extended by org.jclarion.clarion.runtime.ManyGlue
All Implemented Interfaces:
Threaded

public class ManyGlue
extends ClarionMemoryModel

glue many memory objects together (serially) and treat them as a single object

Author:
barney

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jclarion.clarion.ClarionMemoryModel
ClarionMemoryModel.State
 
Constructor Summary
ManyGlue()
           
 
Method Summary
 void add(ClarionMemoryModel model)
           
static ManyGlue array(ClarionMemoryModel[] array)
           
 void deserialize(java.io.InputStream os)
          Read object from memory as clarion would represent object in memory
 java.lang.Object getLockedObject(java.lang.Thread t)
           
 void serialize(java.io.OutputStream is)
          Write java object to memory as clarion would represent object in memory
 
Methods inherited from class org.jclarion.clarion.ClarionMemoryModel
addChangeListener, addChangeListener, castTo, getListenerCount, initThread, isAnyoneInterestedInChange, isThreaded, lock, notifyChange, removeChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManyGlue

public ManyGlue()
Method Detail

array

public static ManyGlue array(ClarionMemoryModel[] array)

add

public void add(ClarionMemoryModel model)

deserialize

public void deserialize(java.io.InputStream os)
                 throws java.io.IOException
Description copied from class: ClarionMemoryModel
Read object from memory as clarion would represent object in memory

Specified by:
deserialize in class ClarionMemoryModel
Throws:
java.io.IOException

serialize

public void serialize(java.io.OutputStream is)
               throws java.io.IOException
Description copied from class: ClarionMemoryModel
Write java object to memory as clarion would represent object in memory

Specified by:
serialize in class ClarionMemoryModel
Throws:
java.io.IOException

getLockedObject

public java.lang.Object getLockedObject(java.lang.Thread t)


Copyright © 2010. All Rights Reserved.