Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2008

    Pull data from txt file to lighstreamer (NEWBIE)

    My data feed provider has giving me a .txt file that looks like this:

    And yeah - I don't know why the to last numbers and symbols are the same. :S
    But how do I make a remote adapter for this? I've tried to look at older threads, but I thinks it's very complex to code, and I simply don't understand the system - I have only experience with PHP.

    Can one of you administrator maybe give me some help?

  2. #2
    Join Date
    Jul 2006
    I assume that you can control what your feed provider produces.
    So, you must have asked for AUDCZK, CZKAUD, AUDDKK and DKKAUD in some way
    and you must have asked for CZKAUD and DKKAUD twice in some way.

    Hence, you should find an algorithm to have your PHP adapter:
    • forward 'SUB' and 'USB' messages received from the Server as requests to your feed; the "item names" requested by the clients and carried by the 'SUB' and 'USB' messages have to be known by your feed (one could be 'AUDCZK', for instance)
    • forward the files received from the feed back to the Server, through 'UD3' messages; note that you have to supply names for the fields: if your feed does not supply field names, your PHP adapter should assign proper names, so that the clients can ask for specific fields

    If you don't understand the concepts used in the ARI protocol documentation, you might need to read a more introductory document, as
    DOCS-SDKs\General Concepts.pdf
    The ARI protocol documentation also does not cover the meaning of the message arguments in detail, because a reading of the java interface documentation is assumed. We expect that specific knowledge of java is not a prerequisite for an understanding of the function arguments meaning.



Similar Threads

  1. Lighstreamer stress testing
    By Andrea in forum Adapter SDKs
    Replies: 3
    Last Post: April 30th, 2012, 04:39 PM
  2. For LightStreamer newbie
    By karthik in forum Client SDKs
    Replies: 2
    Last Post: August 24th, 2010, 07:11 AM
  3. Replies: 0
    Last Post: March 8th, 2010, 10:27 AM
  4. Replies: 5
    Last Post: February 12th, 2008, 03:00 AM
  5. Newbie
    By pisak in forum Client SDKs
    Replies: 1
    Last Post: January 23rd, 2008, 03:10 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
All times are GMT +1. The time now is 11:07 PM.