-
July 15th, 2010, 10:13 PM
#1
Sending an image to the client
can i stream an image or non string data across to client from the server, our implementation does not require the server to check if the value has changed.
-
July 16th, 2010, 09:33 AM
#2
The Java Client Library interface supplies String objects to application code,
hence, using Lightstreamer to transport binary data would require that application code could encode data into Strings in the Data Adapter and decode the received String data on the client.
Note that the Data Adapter interface also allows you to specify the content for a field as a byte array, but that implies a conversion to a String through ISO-8859-1 encoding, as clarified here.
By the way, binary data support is available on the Flex Client Library; details here.
Anyway, the check for unchanged values cannot be disabled.
Note that the check only involves distinct objects received from the Data Adapter. If your item is in MERGE mode and the Data Adapter does not resend unchanged objects upon updates, no checks are involved in those cases.
-
July 16th, 2010, 11:04 AM
#3
Actually, the <redundant_delivery> configuration element is available;
it suppresses the checks for unchanged values, but it affects all the items,
possibly leading to a big redundancy in the data flow.
Similar Threads
-
By semua60 in forum Client SDKs
Replies: 5
Last Post: February 22nd, 2011, 02:39 AM
-
By colmfield in forum Client SDKs
Replies: 2
Last Post: August 26th, 2010, 09:52 AM
-
By mnenchev in forum General
Replies: 3
Last Post: April 20th, 2010, 09:10 AM
-
By Pradeep Chahal in forum Adapter SDKs
Replies: 6
Last Post: October 12th, 2009, 12:25 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 05:19 AM.
Bookmarks