On Wed, Dec 05, 2007 at 09:31:48AM +0000, Ben Hood wrote:
> Fine, AS3 only runs in a single thread which limits it's IO handling
> capabilities to only being able to respond to asynchronous events. But what
> happens when the socket that the Flash VM is listening to sends a progress
> event before it itself has buffered at least enough data to completely consume
> at least one of the Hessian packet messages you are sending it? The following
> socket event handler illustrates what I am talking about: 

That's ok.  The length and packets just need to tell us when we're done.
We have to buffer anyway until we get the terminal packet.  Check out
the Hessian2StreamingInput in either Java or ActionScript.  They both
handle this case.

Best,
Emil

============================================================

Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:[EMAIL PROTECTED]

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Hessian Web Services


_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to