GrpcClient#

class ansys.dpf.core.server_types.GrpcClient#

Client using the gRPC communication protocol.

Overview#

set_address

Set client address.

__del__

Clean up resources associated with the instance.

Import detail#

from ansys.dpf.core.server_types import GrpcClient

Method detail#

GrpcClient.set_address(address, server)#

Set client address.

GrpcClient.__del__()#

Clean up resources associated with the instance.

This method calls the deleter function to release resources. If an exception occurs during deletion, a warning is issued.

Raises:

Warning – If an exception occurs while attempting to delete resources.