org.abora.gold.snarf
Class SimpleTurtle

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.snarf.Abraham
                    |
                    +--org.abora.gold.snarf.Turtle
                          |
                          +--org.abora.gold.snarf.SimpleTurtle

public class SimpleTurtle
extends Turtle


Field Summary
protected  Agenda myAgenda
           
protected  Category myBootCategory
           
protected  Heaper myBootHeaper
           
protected  Cookbook myCookbook
           
protected  Counter myCounter
           
protected  XcvrMaker myProtocol
           
 
Fields inherited from class org.abora.gold.snarf.Abraham
DismantleStatistics, myHash, myInfo, myToken, TheTokenSource
 
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
SimpleTurtle(Cookbook cookbook, Category bootCategory, XcvrMaker maker)
           
SimpleTurtle(Rcvr receiver)
           
 
Method Summary
 Category bootCategory()
           
 Heaper bootHeaper()
           
 int contentsHash()
          A hash of the contents of this flock
 Cookbook cookbook()
           
 Counter counter()
           
 Agenda fetchAgenda()
          Under all normal conditions, a Turtle has an Agenda.
static Heaper make(Cookbook cookbook, Category bootCategory, XcvrMaker maker)
           
 void newCounter(Counter counter)
           
 XcvrMaker protocol()
           
 void restartSimpleTurtle(Rcvr rcvr)
           
 void saveBootHeaper(Heaper boot)
           
 void sendSelfTo(Xmtr xmtr)
          do nothing
 void setProtocol(XcvrMaker xcvrMaker, Cookbook book)
           
 
Methods inherited from class org.abora.gold.snarf.Turtle
getAgenda
 
Methods inherited from class org.abora.gold.snarf.Abraham
actualHashForEqual, becomeStub, cleanupGarbage, destroy, destruct, diskUpdate, dismantle, dismantleStatistics, fetchInfo, fetchShepherd, flockInfo, forget, getInfo, getShepherdStubCategory, initTimeNonInherited, isConstructed, isDestructed, isEqual, isKindOf, isPurgeable, isShepherd, isStub, isUnlocked, linkTimeNonInherited, newShepherd, remember, restartAbraham, restartAbraham, returnToken, staticTimeNonInherited, token
 
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, 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, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, printOn, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, 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

myCounter

protected Counter myCounter

myBootHeaper

protected Heaper myBootHeaper

myProtocol

protected XcvrMaker myProtocol

myCookbook

protected Cookbook myCookbook

myBootCategory

protected Category myBootCategory

myAgenda

protected Agenda myAgenda
Constructor Detail

SimpleTurtle

public SimpleTurtle(Cookbook cookbook,
                    Category bootCategory,
                    XcvrMaker maker)

SimpleTurtle

public SimpleTurtle(Rcvr receiver)
Method Detail

bootCategory

public Category bootCategory()
Overrides:
bootCategory in class Turtle

bootHeaper

public Heaper bootHeaper()
Overrides:
bootHeaper in class Turtle

cookbook

public Cookbook cookbook()
Overrides:
cookbook in class Turtle

counter

public Counter counter()
Overrides:
counter in class Turtle

fetchAgenda

public Agenda fetchAgenda()
Description copied from class: Turtle
Under all normal conditions, a Turtle has an Agenda. However, during the construction of
a Turtle, there may arise situations when a piece of code is invoked which normally asks
the Turtle for its agenda before the Turtle is mature enough to have one.

Overrides:
fetchAgenda in class Turtle

protocol

public XcvrMaker protocol()
Overrides:
protocol in class Turtle

saveBootHeaper

public void saveBootHeaper(Heaper boot)
Overrides:
saveBootHeaper in class Turtle

setProtocol

public void setProtocol(XcvrMaker xcvrMaker,
                        Cookbook book)
Overrides:
setProtocol in class Turtle

contentsHash

public int contentsHash()
Description copied from class: Abraham
A hash of the contents of this flock

Overrides:
contentsHash in class Abraham

restartSimpleTurtle

public void restartSimpleTurtle(Rcvr rcvr)

newCounter

public void newCounter(Counter counter)

sendSelfTo

public void sendSelfTo(Xmtr xmtr)
Description copied from class: Heaper
do nothing

Overrides:
sendSelfTo in class Turtle

make

public static Heaper make(Cookbook cookbook,
                          Category bootCategory,
                          XcvrMaker maker)


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