close session/ sessionclosed

General topics regarding OPC Foundation and communication technology in general.

Moderator: Support Team

Post Reply
prakash
Jr. Member
Jr. Member
Posts: 4
Joined: 05 Jun 2013, 09:42

close session/ sessionclosed

Post by prakash »

:UA:

In UA when session is closed , UASkack fires a call called "sessionClosed (*psession)) that works fine. but since i want to know there is deletesubscription is true or false, there is one more call " sessionclosed (*pSession , OpcUa_Boolean deleteSubscritptions)" in sessionmanager class.,when will this get fired. Since i need to use second parameter. Also this is void function but i need to return the UaStatus to client. what to do in this case? Shall use closesession call or any other call ? When i used closesession, UAstack is not firing this call to my application.

Please help . Thanks .. In advance....

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

Re: close session/ sessionclosed

Post by Support Team »

Hi,

This is the general OPC UA section of the forum.
Please post your question in the product section for the affected SDK.

Best Regards,
Unified Automation Support Team

Post Reply