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

This is a socket which sends arrays of strings back and forth. This is less convenient than ObjectSockets but it is more secure.

An array of strings is represented on the network as:

4-bytes number of strings in the array
4-byte number of bytes in the first string
n1-bytes characters in the first string
4-bytes number of bytes in the second string
n2-bytes characters in the second string
...

instance methods
  as yet unclassified
  destroy
isConnected
processIO
remoteAddress

  private-initialization
  initialize:

  stream protocol
  next
nextOrNil
nextPut:

class methods
  as yet unclassified
  on:

instance methods
  as yet unclassified top  
 

destroy


 

isConnected


 

processIO

do some as much network IO as possible


 

remoteAddress


  private-initialization top  
 

initialize:


  stream protocol top  
 

next

Answer the next object accessible by the receiver.


 

nextOrNil


 

nextPut:

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


class methods
  as yet unclassified top  
 

on: