-
May 27th, 2013, 06:55 PM
#1
Hello Gianluca,
My Code is :
- (void)connectWithLightStreamer
{
fieldNames = [NSArrayarrayWithObjects:LIGHTSTREAMER_FIELDNAMES, nil];
[selfperformSelectorInBackground:@selector(connectInBackground) withObject:nil];
}
- (void) connectInBackground
{
_client = [[LSClientalloc] init];
LSConnectionInfo *connectioninfo = [LSConnectionInfo connectionInfoWithPushServerURL:LIGHTSTREAMER_CONNECITON_ADDRESS pushServerControlURL:nil user:@"username" password:@"password" adapter:LIGHTSTREAMER_CONNECITON_ADAPTER];
[_clientopenConnectionWithInfo:connectioninfo delegate:self];
}
- (void) clientConnectionLSClient *)client didReceiveServerFailureLSPushServerException *)failure {
[_clientperformSelectorInBackground:@selector(closeConnection) withObject:nil];
}
but i receive error : Thread 8:signal SIGABRT
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:05 PM.
Bookmarks