Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2010
    Location
    Warren
    Posts
    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.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    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.

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    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

  1. push image
    By semua60 in forum Client SDKs
    Replies: 5
    Last Post: February 22nd, 2011, 03:39 AM
  2. Sending a message to the client
    By colmfield in forum Client SDKs
    Replies: 2
    Last Post: August 26th, 2010, 10:52 AM
  3. LS not sending all messages to client
    By mnenchev in forum General
    Replies: 3
    Last Post: April 20th, 2010, 10:10 AM
  4. sending multiple snapshot (true) event in smartUpdate()
    By Pradeep Chahal in forum Adapter SDKs
    Replies: 6
    Last Post: October 12th, 2009, 01:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 01:43 PM.