org.abora.gold.cobbler
Class ActualCookbook

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.cobbler.Cookbook
                    |
                    +--org.abora.gold.cobbler.ActualCookbook

public class ActualCookbook
extends Cookbook

We internally map from Category to preorder number for the category and lookup using that
preorder number.


Field Summary
protected  Category myBootCategory
           
protected  PtrArray myDecoding
           
protected  UInt32Array myEncoding
           
protected  char myName
           
protected  Cookbook myNext
           
protected  PtrArray myRecipes
           
protected static Cookbook TheCookbooks
           
 
Fields inherited from class org.abora.gold.xpp.basic.Heaper
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes
 
Fields inherited from class org.abora.gold.java.AboraHeaper
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag
 
Constructor Summary
ActualCookbook(Category cat, java.lang.String id, PtrArray recipes, int count)
           
 
Method Summary
static int addCuisineTo(Recipe cuisine, PtrArray recipes)
           
 Category bootCategory()
           
static void cleanupGarbage()
          Heaper cleanupGarbage
 void destroy()
          ActualCookbooks last for the whole run.
 Recipe fetchRecipe(Category cat)
           
 Category getCategoryFor(IntegerVar no)
           
 Recipe getRecipe(Category cat)
           
 java.lang.String id()
          return a string that uniquely determines the version of the cookbook.
static void initTimeNonInherited()
           
static void linkTimeNonInherited()
           
static Heaper make(Category bootCat)
          Return the cookbook registered for the given bootCategory.
static Heaper make(java.lang.String id)
          Return the cookbook registered for the given string.
 Cookbook next()
           
 IntegerVar numberOfCategory(Category cat)
           
 void printOn(java.io.PrintWriter oo)
           
 void receiveClassList(Rcvr rcvr)
           
 PtrArray recipes()
           
 void sendClassList(Xmtr xmtr)
           
 
Methods inherited from class org.abora.gold.cobbler.Cookbook
actualHashForEqual, declareCookbook, declareCookbook, declareCookbook, declareCookbook, isEqual, make
 
Methods inherited from class org.abora.gold.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, addMethodAttributeToInOf, addPackage, addPackageCategory, allClientProtocolOn, argumentTypesFor, arrow, blast, blast, BLAST, cachePromiseNameTable, cachePromiseNameTableIn, canYouBecome, cast, cleanPromiseClasses, clientClassesDo, clientFunctionsOn, clientMethodsOn, clientProtocol, clientProtocolDo, clientProtocolOn, clientProtocolOn, collectibleClasses, compare, compileClientSubclasses, compileConstantPromiseMethods, compileCreateFromRcvr, compileEQ, compileGeneratedClassMethod, compileGeneratedMethod, compileHook, compilePromise, compilePromiseDefaultMethods, compilePromiseFluidDeclarations, compilePromiseHandlers, compilePromiseMethods, compileRequestCreateMsgInArguments, compileRequestEvaluateMsgInReturningArguments, compileRPCSpecialistEvaluateMsgForReturningArguments, compileSendSelfTo, compileSendSelfToSendHook, compileStubbleMethods, compileSubclassStubbleMethods, computeMangle, computePreorder, constantTypeValue, convert, convertCopyDeclarations, convertDeferredDeclarations, convertProxyDeclarations, convertSubclassCopyDeclarations, convertSubclassDeferredDeclarations, convertSubclassProxyDeclarations, copyReferencesToType, create, create, create, create, create, create, create, create, create, create, createRequestClassArguments, definesProxyMethods, delete, deref, destruct, destructor, enum, enumFlags, equals, exportName, fetchAttribute, fetchPackage, fetchSuperCategory, fileOutClientProtocol, findCategory, findSenderAndReceiverMethods, findTailInto, flushPromiseNameTable, foo, freezeClientClasses, freezeClientProtocol, freezeStProtocol, frozenClasses, garbageCollect, garbageCollectFrom, gcOpportunity, gcOpportunity, generatedCategory, generatePromiseNames, getCategory, getOrMakePackage, getSuperCategory, handlerSignaturesFrom, hash, hashForEqual, hasProxyMethods, info_clientClasses, info_clientSideClasses, info_promiseClasses, info_stProtocol, inGC, initializedClasses, initializingClasses, initPackages, initStringHashSBoxes, inspectPieces, instanceSize, IntegerVar, isByProxy, isConstructed, isDestructed, isEqual, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, isUnlocked, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, sendSelfTo, serverNameFor, setGC, signal, signals, smalltalkSelector, stClientProtocol, stubbleSelectorTokenReturnsArguments, subclassNonCopyVariables, takeOop, togglePromiseName, togglePromiseOfParse, unimplemented, unmangle, verifyFreeze, wipeStubble
 
Methods inherited from class org.abora.gold.java.AboraHeaper
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myName

protected char myName

myBootCategory

protected Category myBootCategory

myNext

protected Cookbook myNext

myRecipes

protected PtrArray myRecipes

myDecoding

protected PtrArray myDecoding

myEncoding

protected UInt32Array myEncoding

TheCookbooks

protected static Cookbook TheCookbooks
Constructor Detail

ActualCookbook

public ActualCookbook(Category cat,
                      java.lang.String id,
                      PtrArray recipes,
                      int count)
Method Detail

bootCategory

public Category bootCategory()
Overrides:
bootCategory in class Cookbook

fetchRecipe

public Recipe fetchRecipe(Category cat)
Overrides:
fetchRecipe in class Cookbook

getCategoryFor

public Category getCategoryFor(IntegerVar no)
Overrides:
getCategoryFor in class Cookbook

getRecipe

public Recipe getRecipe(Category cat)
Overrides:
getRecipe in class Cookbook

id

public java.lang.String id()
Description copied from class: Cookbook
return a string that uniquely determines the version of the cookbook. It
should change whenever classes are added or removed, or when their storage
or transmission protocol changes

Overrides:
id in class Cookbook

next

public Cookbook next()
Overrides:
next in class Cookbook

numberOfCategory

public IntegerVar numberOfCategory(Category cat)
Overrides:
numberOfCategory in class Cookbook

recipes

public PtrArray recipes()
Overrides:
recipes in class Cookbook

destroy

public void destroy()
ActualCookbooks last for the whole run.

Overrides:
destroy in class Heaper

printOn

public void printOn(java.io.PrintWriter oo)
Overrides:
printOn in class Cookbook

receiveClassList

public void receiveClassList(Rcvr rcvr)

sendClassList

public void sendClassList(Xmtr xmtr)

addCuisineTo

public static int addCuisineTo(Recipe cuisine,
                               PtrArray recipes)

make

public static Heaper make(Category bootCat)
Description copied from class: Cookbook
Return the cookbook registered for the given bootCategory.


make

public static Heaper make(java.lang.String id)
Description copied from class: Cookbook
Return the cookbook registered for the given string.


cleanupGarbage

public static void cleanupGarbage()
Description copied from class: Heaper
Heaper cleanupGarbage


initTimeNonInherited

public static void initTimeNonInherited()

linkTimeNonInherited

public static void linkTimeNonInherited()


Translation - Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.