I'm attempted to connect to an existing lightstreamer push service.
I am able to authenticate with the system and start the streaming.
Once the callbacks in my HandyTableListener start. OnUpdate is called twice, the second time with the first set of data (which is correct data). I don't get anymore data after that. No exceptions are raised as far as I can tell.
Here is what my console log output looks like.
Code:
ConnectionListener::OnConnectionEstablished
ConnectionListener::OnSessionStarted polling=False
TradingPlatformHandyTableListener::OnUpdate itemPos=1 itemName= update=[ null, null, null, null, null, null, null, null, null, null, null ]
ConnectionListener::OnNewBytes bytes=27
TradingPlatformHandyTableListener::OnUpdate itemPos=1 itemName= update=[ 0, 0, -1, 0, 0, 0, 0, 0, 0, 6, GBP ]
ConnectionListener::OnNewBytes bytes=30
Here's some more relevant code from my project.
Code:
ConnectionInfo connInfo = new ConnectionInfo();
connInfo.PushServerUrl = serverUrl;
connInfo.Adapter = "STREAMINGALL";
connInfo.User = userName;
connInfo.Password = sessionToken;
Code:
SimpleTableInfo tableInfo = new SimpleTableInfo("CLIENTACCOUNTMARGIN",
"MERGE",
"Cash Margin MarginIndicator NetEquity OpenTradeEquity TradeableFunds PendingFunds TradingResource TotalMarginRequirement CurrencyId CurrencyISO",
true);
tableInfo.DataAdapter = "CLIENTACCOUNTMARGIN";
client.SubscribeTable(tableInfo, hl, false);
I'm using the latest .NET Windows RT client (DLL) in a Console Application.
Bookmarks