Results 1 to 4 of 4

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    516

    Lightbulb "Hello World" Data Adapter [.NET]

    A step-by-step explanation of a very simple Lightstreamer Data Adapter, based on both C# and VB .NET, is available from Comet Daily:
    http://www.lightstreamer.com/r/hello-dotnet-cometdaily

  2. #2
    Senior Member
    Join Date
    Sep 2007
    Location
    des plaines
    Posts
    41
    I have followed the instructions to implement that example. I di not create the one for Java. After I have finished C# example I tried to run it. It did not work and I tried LS stock example that did not work either. Here is my log:

    29-May-08 10:46:08,648 |INFO |LightstreamerLogger.license |main |Starting MAC address check
    29-May-08 10:46:08,742 |INFO |LightstreamerLogger.license |main |Found MAC address 00:19:d1:2e:c1:32
    29-May-08 10:46:08,742 |INFO |LightstreamerLogger.license |main |MAC address check successful
    29-May-08 10:46:08,742 |INFO |LightstreamerLogger.license |main |License correctly bound with the following parameter(s):
    29-May-08 10:46:08,742 |INFO |LightstreamerLogger.license |main | Client ID : EwxSlueci0PURc1noNMWL
    29-May-08 10:46:08,742 |INFO |LightstreamerLogger.license |main | Mac Address : 00:19:d1:2e:c1:32
    29-May-08 10:46:09,039 |INFO |LightstreamerLogger.init |main |Lightstreamer Server starting in Moderato edition
    29-May-08 10:46:09,133 |WARN |LightstreamerLogger.monitoring |main |JMX management features not available with the current license
    29-May-08 10:46:09,195 |INFO |LightstreamerLogger.init |main |Started HTML Adaptor for JMX on port 6666
    29-May-08 10:46:09,305 |INFO |LightstreamerLogger.init |main |Started JMXMP Connector for JMX on port 9999
    29-May-08 10:46:09,336 |WARN |LightstreamerLogger.init |main |No users defined for Internal Monitor.
    29-May-08 10:46:09,367 |INFO |LightstreamerLogger.init |main |Loading Metadata Provider PROXY_HELLOWORLD
    29-May-08 10:46:09,367 |INFO |LightstreamerLogger.init |main |Loading Data Provider PROXY_HELLOWORLD
    29-May-08 10:46:09,398 |INFO |.remote.transport.SocketTransport|main |Connecting...
    29-May-08 10:55:18,595 |INFO |LightstreamerLogger.init |Thread-8 |Server shutdown requested
    29-May-08 10:55:18,595 |INFO |LightstreamerLogger.init |Thread-8 |Exiting.....
    29-May-08 10:55:48,116 |INFO |LightstreamerLogger.license |main |Starting MAC address check
    29-May-08 10:55:48,147 |INFO |LightstreamerLogger.license |main |Found MAC address 00:19:d1:2e:c1:32
    29-May-08 10:55:48,147 |INFO |LightstreamerLogger.license |main |MAC address check successful
    29-May-08 10:55:48,147 |INFO |LightstreamerLogger.license |main |License correctly bound with the following parameter(s):
    29-May-08 10:55:48,147 |INFO |LightstreamerLogger.license |main | Client ID : EwxSlueci0PURc1noNMWL
    29-May-08 10:55:48,147 |INFO |LightstreamerLogger.license |main | Mac Address : 00:19:d1:2e:c1:32
    29-May-08 10:55:48,335 |INFO |LightstreamerLogger.init |main |Lightstreamer Server starting in Moderato edition
    29-May-08 10:55:48,397 |WARN |LightstreamerLogger.monitoring |main |JMX management features not available with the current license
    29-May-08 10:55:48,444 |INFO |LightstreamerLogger.init |main |Started HTML Adaptor for JMX on port 6666
    29-May-08 10:55:48,522 |INFO |LightstreamerLogger.init |main |Started JMXMP Connector for JMX on port 9999
    29-May-08 10:55:48,553 |WARN |LightstreamerLogger.init |main |No users defined for Internal Monitor.
    29-May-08 10:55:48,569 |INFO |LightstreamerLogger.init |main |Loading Metadata Provider PROXY_HELLOWORLD
    29-May-08 10:55:48,569 |INFO |LightstreamerLogger.init |main |Loading Data Provider PROXY_HELLOWORLD
    29-May-08 10:55:48,600 |INFO |.remote.transport.SocketTransport|main |Connecting...

    not sure if LS server is running. Can you help, please?

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    972
    The log shown is produced by the Server, configured for interoperation with the remote part of the Hello World adapter, at startup.
    After launching the adapter_csharp.exe module, the two should connect with each other. What do you observe on the adapter_csharp.exe console?
    Note that, with this configuration, as long as the Server has not connected with the Remote Adapter, it is not initialized and the StockListDemo cannot work too.

  4. #4
    Senior Member
    Join Date
    Sep 2007
    Location
    des plaines
    Posts
    41
    Yes, I got it working, thanks.
    Now, I see that a time is changed every two seconds. Does that mean that the data is pushed every two seconds?

    Nevermind, I got it.

 

 

Similar Threads

  1. Beginner - Hello World in asp.net project
    By michael73 in forum General
    Replies: 2
    Last Post: November 9th, 2015, 01:27 PM
  2. Integrate Hello World sample in stand alone ASP.NET
    By Don_Go in forum Adapter APIs
    Replies: 7
    Last Post: September 12th, 2013, 09:25 AM
  3. Hello World Remote Socket Adapter
    By kclerc in forum Adapter Protocol
    Replies: 7
    Last Post: April 12th, 2010, 11:40 AM
  4. Replies: 3
    Last Post: April 9th, 2009, 10:38 AM
  5. "Hello World" Data Adapter [Java]
    By Alessandro in forum Adapter APIs
    Replies: 0
    Last Post: February 13th, 2008, 10:12 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:56 AM.