Squeak Class Documentation category index | class index  
 
StringSocket
  category: Network-ObjectSocket
  superclass: ObjectSocket
  subclasses:

No comment. Sorry.

instance methods
  as yet unclassified
  destroy
initialize:

  private-IO
  addToInBuf:
addToOutBuf:
backlog
barf
gotSomething
inBufNext:
inBufSize
isConnected
nextPut:
processIO
processInput
processOutput
purgeOutputQueue
queueOutBufContents
sendDataCautiously:bytesToSend:
shrinkInBuf
spaceToEncode:
transmitQueueNext
tryForNextStringSize
tryForNumStringsInNextArray
tryForString

class methods
  as yet unclassified
  clearRatesSeen
compareFiles
showRatesSeen

instance methods
  as yet unclassified top  
 

destroy


 

initialize:


  private-IO top  
 

addToInBuf:


 

addToOutBuf:


 

backlog


 

barf


 

gotSomething


 

inBufNext:


 

inBufSize


 

isConnected


 

nextPut:

Insert the argument, anObject, as the next object accessible by the
receiver. Answer anObject.


 

processIO

do some as much network IO as possible


 

processInput

do as much input as possible


 

processOutput


 

purgeOutputQueue


 

queueOutBufContents


 

sendDataCautiously:bytesToSend:

Send all of the data in the given array, even if it requires multiple calls to send it all. Return the number of bytes sent. Try not to send too much at once since this seemed to cause problems talking to a port on the same machine


 

shrinkInBuf


 

spaceToEncode:

return the number of characters needed to encode the given string array


 

transmitQueueNext


 

tryForNextStringSize

grab the size of the next string, if it's available


 

tryForNumStringsInNextArray

input numStringsInNextARray, if 4 bytes are available


 

tryForString

try to grab an actual string


class methods
  as yet unclassified top  
 

clearRatesSeen


StringSocket clearRatesSeen


 

compareFiles


StringSocket compareFiles


 

showRatesSeen


StringSocket showRatesSeen