13:41, EET
March 26, 2014
Hello,
I had a question about subscription transfer in the client some times ago (http://forum.prosysopc.com/for…..e-trigger/) and I started to try it now.
In my test i have a master client A with a subscription and a client B waiting.
The method to transfer the subscription from client A to client B works (but A continues to receive the notifications, I don’t know if it is the expected behavior but it’s not a big deal).
But what I would like to do it the other way with client B requesting the transfer of the subscription because client A was disconnected. But the client B cannot get by itself the subscription object of another client from the Server. Is there a way to do this ?
And my real world need is even more complicated because A and B would be on different processes or computer accross the network. Maybe the transfer function is not intended to be used for a redundancy support like I’m trying to do but I do not see another way to be able to have a client that “resumes” a subscription when another client dies. Especially as I would like to really resume the subscription without losing data or receiving data that the master client had already received before dying.
Thank you,
15:37, EET
March 26, 2014
11:48, EET
December 21, 2011
Yes, this a bit complicated. In practice the client should be able to communicate the SubscriptionId of the transferred Subscription. Also the monitored items of the subscription should be communicated, so that the respective objects can be recreated in the new client application.
At the moment, the SDK does not support this properly, since you cannot determine the SubscriptionId, nor the handles of the monitored items yourself in the new client.
If you contact our support by email, we can work on this together to improve the SDK in regard to this scenario.
Most Users Ever Online: 1919
Currently Online:
23 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 738
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1524
Posts: 6451
Newest Members:
jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettingerModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1