ContinuationPoint And MaxHistoryContinuationPoint

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
Kevin
Sr. Member
Sr. Member
Posts: 18
Joined: 23 Apr 2015, 07:50

ContinuationPoint And MaxHistoryContinuationPoint

Post by Kevin »

Hello,
Support Team

In the SDK Lesson7, the readRaw() method creates the "continuation point" and returns it.

I have two questions about it.
1,If the session is disconnected, how to deletes the "continuation point" object ?
The SDK deletes the returned continuation point? or i deletes it by myself?
2,Servers specify a max history continuation points per Session in the Server capabilities Object defined in Part 5.
when the readRaw() is called, The SDK check the max continuation points? or i need to check it?

Thanks,
Kevin

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re: ContinuationPoint And MaxHistoryContinuationPoint

Post by Support Team »

Hi Kevin,

As soon as you return a continuation point to the SDK, the SDK takes responsibility for deleting the continuation point if necessary. This is if the Session object is deleted or if the maximum number of continuation points is reached that can be stored per session.

You just need to care about continuation points passed in to the HistoryManager.

Best Regards,
Unified Automation Support Team

Kevin
Sr. Member
Sr. Member
Posts: 18
Joined: 23 Apr 2015, 07:50

Re: ContinuationPoint And MaxHistoryContinuationPoint

Post by Kevin »

Hello,
Support Team

Thanks for your prompt reply, i know it,

Best Regards,
Kevin

Post Reply