PreferencesConnect#

class ansys.stk.core.stkobjects.PreferencesConnect#

Allow configuring connect preferences.

Overview#

allow_connect

Get or set the connection allowed property.

allow_asynchronous_communications

Asynchronous allowed.

maximum_connections

Max number of simultaneous connections.

polling_period

Period between port polls in msec.

socket

TCP/IP Socket Port.

acknowledge_message_receipt

Get or set the initial connect Acknowledge mode state.

error_notify_mode

Get or set the initial connect Error Notify mode state.

wildcard_ignore_nack

Ignore Backs when Wildcards used.

verbose

Get or set the initial connect Verbose mode state.

allow_logging

Allow for command logging.

log_filename

File for logging commands.

allow_external_connect

Allow connections from other machines.

Import detail#

from ansys.stk.core.stkobjects import PreferencesConnect

Property detail#

property PreferencesConnect.allow_connect: bool#

Get or set the connection allowed property.

property PreferencesConnect.allow_asynchronous_communications: bool#

Asynchronous allowed.

property PreferencesConnect.maximum_connections: int#

Max number of simultaneous connections.

property PreferencesConnect.polling_period: int#

Period between port polls in msec.

property PreferencesConnect.socket: int#

TCP/IP Socket Port.

property PreferencesConnect.acknowledge_message_receipt: bool#

Get or set the initial connect Acknowledge mode state.

property PreferencesConnect.error_notify_mode: bool#

Get or set the initial connect Error Notify mode state.

property PreferencesConnect.wildcard_ignore_nack: bool#

Ignore Backs when Wildcards used.

property PreferencesConnect.verbose: bool#

Get or set the initial connect Verbose mode state.

property PreferencesConnect.allow_logging: bool#

Allow for command logging.

property PreferencesConnect.log_filename: str#

File for logging commands.

property PreferencesConnect.allow_external_connect: bool#

Allow connections from other machines.