/* The server does not send a CloseSecureChannel response */ void Service_CloseSecureChannel(UA_Server *server, UA_Int32 channelId) { UA_LOG_DEBUG(server->logger, UA_LOGCATEGORY_SECURECHANNEL, "Closing SecureChannel %i", channelId); UA_SecureChannelManager_close(&server->secureChannelManager, channelId); }
/* The server does not send a CloseSecureChannel response */ void Service_CloseSecureChannel(UA_Server *server, UA_SecureChannel *channel) { UA_LOG_INFO_CHANNEL(server->config.logger, channel, "CloseSecureChannel"); UA_SecureChannelManager_close(&server->secureChannelManager, channel->securityToken.channelId); }