[UPDATES] Network rewrite for 3.6alpha

Doug Way dway at riskmetrics.com
Wed Jun 11 05:34:40 UTC 2003


Here is Michael Rueger's network rewrite which has been on SqueakMap 
for a while and tweaked several times, now included in the update 
stream as part of the recent 3.6 plan.

(Hopefully I've decomposed the .sar file correctly...)

- Doug Way


------------------------

5252net-reorg-mir -- Michael Rueger -- 7 June 2003
Rewrite of the most of the network code in Squeak 3.6 after removals.
What's new from 0.5:
- some minor issues fixed
- SocketStream now directly supports timeouts
What's new from 0.4:
-bug fixes in SocketStream
-SocketStream now supports a time out
-SocketStream auto flush: if false, everything is written at once, if 
true, data is written when the out buffer is full
-major change in some method semantics (see below)
-all wait calls are now named xxxFor: instead of xxUntil: and use 
seconds instead of the weird milli seconds deadline
-waitForDataFor: now does NOT return a boolean anymore but rather 
signals exceptions
-new call waitForData that never times out (useful for e.g. chat 
clients)
-new API for receiving data:
	-receiveAvailableData fetches all currently available data without 
waiting, may return no new data
	-receiveSomeData like above, but fetches data only once, no looping
	-receiveData waits until some data is available, guarantees to return 
data (unless an exception occurs), once it has data it does not wait 
for more, does NOT time out
	-receiveDataTimeout like receiveData but with time out parameter
	-receiveDataWithTimeout like above but using default time out
What's new from 0.3:
-bug fixes (thanks to Goran and Luciano)
-fixes up obsolete references to removed and renamed classes
-SocketStream has now nextLine (crlf), nextLineLf and nextLineCrLF
-Socket>>connectTo:port: now waits until the connection is established. 
connectNonBlockingTo:port: implements the old functionality.

5253net-rename-mir

5254net-newClasses-mir

5255net-nameResolver-mir

5256net-conQ-mir

5257net-sysadaption-mir

5258net-serverDir-mir

5259net-remove-mir



More information about the Squeak-dev mailing list