-
January 18th, 2010, 11:31 AM
#1
Query in passing json message from LS server to browser
Hi,
We are using GWT Java Application. Our LS server is continously sending json message to browser. In LS console we can print all the messages. But in the browser not able to receive some messages(got missed out at client side). We are not able to trace out the cause. Can anyone help us for this?
Thanks,
Latha.P
-
January 18th, 2010, 03:27 PM
#2
hi,
do some messages reach the client while others don't?
did you check if the onLostUpdates callback was fired?
-
January 19th, 2010, 10:14 AM
#3
Hi,
Thanks for your reply. Actually we are new to both LS & Java application. So, not able to get you. Are you asking us to check the "onLostUpdates" callback at client side coding?
In GWT, we are using the following methodology to receive the JSON message sent by LS server.
public native void publish() /*-{
$wnd.jsonUpdatedStaticJS = @com.chellasoft.http://www.client.ChellaSoft::jsonUp...lang/String;);
}-*/;
If you don't mind, Can we get the detailed information?
Note: In LS server side(Meta Data Adapter), we are able to print all the messages sent to client. but not at the client side.
Thanks,
Latha.P
-
January 19th, 2010, 11:40 AM
#4
Hi,
Thanks for your reply. Actually we are new to both LS & Java application. So, not able to get you. Are you asking us to check the "onLostUpdates" callback at client side coding?
No, first I want to know if at least one update reaches the client. I want to understand if you're not able to receive data or if you lose only some data. In the latter case, to check the onLostUpdates client-side callback would be the first step.
In GWT, we are using the following methodology to receive the JSON message sent by LS server.
Sorry, I've never played with GWT so I don't know what that means. Please check this thread about GWT, maybe it could help: http://www.lightstreamer.com/vb/showthread.php?t=371
If you don't mind, Can we get the detailed information?
what do you mean?
Note: In LS server side(Meta Data Adapter), we are able to print all the messages sent to client. but not at the client side.
please edit Lightstreamer log configuration, setting the LightstreamerLogger.push category's level to DEBUG. This will show you what exits from the server.
HTH
-
January 20th, 2010, 07:58 AM
#5
Hi,
Thanks a lot...
Regards,
Latha.P
-
January 20th, 2010, 09:03 AM
#6
so, is your problem solved?
-
December 7th, 2010, 09:26 AM
#7
well if you face any more problem you can google it and you will find a solution in top 3 websites i did the same and now i am enjoying its all set
Similar Threads
-
By naitsir in forum Client SDKs
Replies: 7
Last Post: October 2nd, 2012, 10:36 AM
-
By finodex in forum Client SDKs
Replies: 1
Last Post: June 6th, 2012, 10:32 AM
-
By mohamida in forum Adapter SDKs
Replies: 9
Last Post: April 21st, 2010, 08:17 PM
-
By latha in forum Client SDKs
Replies: 1
Last Post: January 18th, 2010, 03:27 PM
-
By naitsir in forum Client SDKs
Replies: 9
Last Post: October 19th, 2009, 04:02 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
-
Forum Rules
All times are GMT +1. The time now is 11:52 AM.
Bookmarks