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

A network connection that passes objects instead of bytes. The objects are encoded with SmartRefStreams.

Of course, one can send Arrays of Strings if one is unsure of what exactly SmartRefStream's are going to do.

instance methods
  private
  encodeObject:into:startingAt:
nextObjectLength
processInput
smartRefStreamEncode:
spaceToEncode:

class methods
  no messages
 

instance methods
  private top  
 

encodeObject:into:startingAt:

encode the given object into the given buffer


 

nextObjectLength

read the next object length from inBuf. Returns nil if less than 4 bytes are available in inBuf


 

processInput

recieve some data


 

smartRefStreamEncode:

encode an object using SmartRefStream


 

spaceToEncode:

return the number of characters needed to encode the given object


class methods
  no messages top