LaneHandle#

class ansys.aedt.mcp.lanes.spawner.LaneHandle#

Connection details of a running lane.

Parameters:
server_idstr

Lane name.

hoststr

Host the lane listens on.

portint

HTTP port of the lane.

log_pathpathlib.Path

Log file of the lane.

pidint, optional

Process ID of the lane.

auth_tokenstr, optional

Bearer token of the lane.

spawnedbool

True if this call started the lane, False if it was reused.

Overview#

Import detail#

from ansys.aedt.mcp.lanes.spawner import LaneHandle

Attribute detail#

LaneHandle.server_id: str#
LaneHandle.host: str#
LaneHandle.port: int#
LaneHandle.log_path: pathlib.Path#
LaneHandle.pid: int | None = None#
LaneHandle.auth_token: str | None = None#
LaneHandle.spawned: bool = False#