Summary#
Provides the client object for interacting with the Rocky app. |
|
Connect to a Rocky app instance. |
|
Description#
Module that defines the RockyClient
class, which acts as a proxy for a Rocky
application session.
Module detail#
- class client.RockyClient(rocky_api)#
Provides the client object for interacting with the Rocky app.
- Parameters:
- rocky_api
Pyro5.api.Proxy
Pyro5 proxy object for interacting with the Rocky app.
- rocky_api
Overview#
Import detail#
from ansys.rocky.core.client import RockyClient
Property detail#
- property RockyClient.api#
Method detail#
- RockyClient.close()#
- RockyClient.connect_to_rocky(host: str = 'localhost', port: int = DEFAULT_SERVER_PORT) RockyClient #
Connect to a Rocky app instance.
- Parameters:
- Returns:
RockyClient
Client object for interacting with the Rocky app.