-
April 15th, 2008, 11:48 AM
#1
"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
-
May 29th, 2008, 04:55 PM
#2
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?
-
May 30th, 2008, 10:50 AM
#3
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.
-
May 30th, 2008, 01:49 PM
#4
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
-
By michael73 in forum General
Replies: 2
Last Post: November 9th, 2015, 01:27 PM
-
By Don_Go in forum Adapter SDKs
Replies: 7
Last Post: September 12th, 2013, 09:25 AM
-
By kclerc in forum Adapter SDKs
Replies: 7
Last Post: April 12th, 2010, 11:40 AM
-
By coyote7000 in forum Client SDKs
Replies: 3
Last Post: April 9th, 2009, 10:38 AM
-
By Alessandro in forum Adapter SDKs
Replies: 0
Last Post: February 13th, 2008, 10:12 AM
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 06:26 AM.
Bookmarks