org.abora.gold.xcvr
Class TextyXmtr

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.xcvr.Xmtr
                    |
                    +--org.abora.gold.xcvr.SpecialistXmtr
                          |
                          +--org.abora.gold.xcvr.TextyXmtr

public class TextyXmtr
extends SpecialistXmtr


Field Summary
protected  IntegerVar myDepth
           
protected  boolean myNeedsSep
           
protected  XnWriteStream myStream
           
 
Fields inherited from class org.abora.gold.xcvr.SpecialistXmtr
myIbids, myNextIbid, mySpecialist, XmtrIbidCache
 
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
TextyXmtr(TransferSpecialist specialist, XnWriteStream stream)
           
 
Method Summary
 void decrementDepth()
           
 void endInstance()
          end sending an instance
 void endPacket()
           
 void endThing()
           
 void incrementDepth()
           
static Heaper make(TransferSpecialist specialist, XnWriteStream stream)
           
 void printOn(java.io.PrintWriter oo)
           
 void putByte(byte b)
           
 void sendBooleanVar(boolean b)
           
 void sendCategory(Category cat)
           
 void sendHeaper(Heaper object)
           
 void sendIdentifier(java.lang.String identifier)
          send an identifier
 void sendIEEEDoubleVar(double x)
          Sending the normal decimal approximation doesn't work because it introduces
roundoff error.
 void sendInt32(int n)
           
 void sendInt8(byte n)
           
 void sendIntegerVar(IntegerVar n)
           
 void sendNULL()
           
 void sendString(java.lang.String s)
           
 void sendUInt32(int n)
           
 void sendUInt8(byte n)
           
 void sendUInt8Data(UInt8Array array)
          Send the contents of the UInt8Array as data.
 void startNewInstance(Category cat)
          start sending an instance of a particular class
 void startThing()
           
 
Methods inherited from class org.abora.gold.xcvr.SpecialistXmtr
destruct, linkTimeNonInherited, sendIbid, specialist, startInstance
 
Methods inherited from class org.abora.gold.xcvr.Xmtr
actualHashForEqual, isEqual, send, sendData
 
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, cleanupGarbage, 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, destroy, 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

myStream

protected XnWriteStream myStream

myDepth

protected IntegerVar myDepth

myNeedsSep

protected boolean myNeedsSep
Constructor Detail

TextyXmtr

public TextyXmtr(TransferSpecialist specialist,
                 XnWriteStream stream)
Method Detail

sendBooleanVar

public void sendBooleanVar(boolean b)
Overrides:
sendBooleanVar in class SpecialistXmtr

sendCategory

public void sendCategory(Category cat)
Overrides:
sendCategory in class SpecialistXmtr

sendIEEEDoubleVar

public void sendIEEEDoubleVar(double x)
Sending the normal decimal approximation doesn't work because it introduces
roundoff error. What we need to do instead is send a hex encoding of the IEEE
double precision (64-bit) representation of the number. For clarity in the
textual protocol, we also include the decimal approximation in a comment.

Overrides:
sendIEEEDoubleVar in class SpecialistXmtr

sendInt32

public void sendInt32(int n)
Overrides:
sendInt32 in class SpecialistXmtr

sendInt8

public void sendInt8(byte n)
Overrides:
sendInt8 in class SpecialistXmtr

sendIntegerVar

public void sendIntegerVar(IntegerVar n)
Overrides:
sendIntegerVar in class SpecialistXmtr

sendString

public void sendString(java.lang.String s)
Overrides:
sendString in class SpecialistXmtr

sendUInt32

public void sendUInt32(int n)
Overrides:
sendUInt32 in class SpecialistXmtr

sendUInt8

public void sendUInt8(byte n)
Overrides:
sendUInt8 in class SpecialistXmtr

sendUInt8Data

public void sendUInt8Data(UInt8Array array)
Description copied from class: SpecialistXmtr
Send the contents of the UInt8Array as data.

Overrides:
sendUInt8Data in class SpecialistXmtr

endInstance

public void endInstance()
end sending an instance

Overrides:
endInstance in class SpecialistXmtr

decrementDepth

public void decrementDepth()

endPacket

public void endPacket()
Overrides:
endPacket in class SpecialistXmtr

endThing

public void endThing()

incrementDepth

public void incrementDepth()

putByte

public void putByte(byte b)

sendNULL

public void sendNULL()
Overrides:
sendNULL in class SpecialistXmtr

startNewInstance

public void startNewInstance(Category cat)
start sending an instance of a particular class

Overrides:
startNewInstance in class SpecialistXmtr

startThing

public void startThing()

sendIdentifier

public void sendIdentifier(java.lang.String identifier)
send an identifier


printOn

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

sendHeaper

public void sendHeaper(Heaper object)
Overrides:
sendHeaper in class SpecialistXmtr

make

public static Heaper make(TransferSpecialist specialist,
                          XnWriteStream stream)


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