Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Dec 2006
    Location
    Colorado Springs
    Posts
    7

    Tibco pausing with Lightstreamer

    Tibco GI Builder keeps pausing, and we believe this is because it is running the code in the javascript files to initialize lightstreamer.

    When dealing with the visual designer in VS/C# there is a flag that you can check in the code that says "if (DESIGN_MODE)". This allows you to bracket code you do not want executed when using the GUI designer or IDE.

    Is there something similar for Tibco GI? Is there some way to implement the lightstreamer setup without having the GI trying to run it all the time?

    Thanks.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    Hi

    In our demos, we usually identify the context from the page, by checking the page location.
    For instance, if location.protocol is "file:", then we can assume that the page is being managed by GI builder. In this case, just removing the domain setting (or calling setDomain(null) ) and not calling changeStatus("STREAMING") should be enough to have Lightstreamer code not disturbing GI builder.

    Dario

 

 

Similar Threads

  1. TIBCO AMS-GI data adapter issue
    By ganeshk in forum Adapter APIs
    Replies: 1
    Last Post: September 22nd, 2010, 07:52 PM
  2. Tibco Gi Demo
    By saleem145 in forum Client APIs
    Replies: 2
    Last Post: September 24th, 2009, 12:01 PM
  3. Tibco sample Code
    By wmolde in forum Client APIs
    Replies: 5
    Last Post: September 24th, 2009, 11:59 AM
  4. Tibco Rv data adapter
    By ericrosevear in forum General
    Replies: 3
    Last Post: June 18th, 2008, 11:41 AM
  5. Pausing/Resuming Streaming
    By rakeshxp in forum Client APIs
    Replies: 1
    Last Post: August 14th, 2007, 11:03 AM

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 03:31 AM.