ServerConnectionStatus#

class ansys.additive.core.server_connection.server_connection.ServerConnectionStatus#

Provides status information about a server.

Parameters:
connected: bool

True if server is connected.

channel_str: string, None

Hostname and port of server connection in the form host:port.

metadata: dict, None

Server metadata.

Overview#

connected

True if server is connected.

channel_str

Hostname and port of server connection in the form host:port.

metadata

Server metadata.

Import detail#

from ansys.additive.core.server_connection.server_connection import ServerConnectionStatus

Attribute detail#

ServerConnectionStatus.connected: bool#

True if server is connected.

ServerConnectionStatus.channel_str: str = None#

Hostname and port of server connection in the form host:port.

ServerConnectionStatus.metadata: dict = None#

Server metadata.

Method detail#

ServerConnectionStatus.__str__() ServerConnectionStatus.__str__.str#