Hi MArk,
Basically you want to send a message from the client to the server when
there is a problem on the client.
Which version of ULC are you using?
In ULC 6.1, you can call a method on the server side proxy from the client
side proxy using invokeULC() method.
So your client side code will look like:
if (error)
invokeULC(...);
}
Then on the serverside class you can implement a Dispatcher class which will
delegate the method call to a method in the server side class. In that
method you can send back the data by invoking a method on the client using
invokeUI(...).
Please read sections 3.4.1 & 3.4.2 of ULC Extension Guide.
I hope this helps.
Thanks and regards,
Janak
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of markee
>Sent: Friday, August 18, 2006 1:25 PM
>To: [email protected]
>Subject: [ULC-developer] Query on how to implement caching
>
>
>I have a Canoo client class which is being streamed data from a server.
>
>Some of this data is resent so I have implemented the canoo code so
>that when
>the data for page 1 is sent, the ULCViewer class logs this and if
>Page 1 is resent it sends
>a null object rather than resending the 160 k.
>
>On the clientside, if a null object is received then UI Client knows
>we have stored the data on disk
>and retrieves it.
>
>This works brilliantly until UI client cannot cache the data for some
>reason (ie disk problem).
>
>So how can UI VIewer send a message back to ULCVIewer asking for the
>data to be resent?
>
>MArk
>_______________________________________________
>ULC-developer mailing list
>[email protected]
>http://lists.canoo.com/mailman/listinfo/ulc-developer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer