OpenHiva::ServiceServer::Destroy

Description

Releases the resources allocated by OpenHiva::Node::CreateServer.

Prototype

void OpenHiva::ServiceServer::Destroy()

Parameters

None

Returns

The return value is of the uint32_t type. If the operation is successful, HIVA_SUCCESS (value being 0) is returned. If other values are returned, the operation fails.

Usage

After this interface is invoked, all resources on the server are released.

Precautions

None