ProtocolParameters

class c104.ProtocolParameters

This class is used to configure protocol parameters for server and client

property confirm_interval

t2)

Type:

int

Type:

maximum interval to acknowledge received messages (ms) (property name

property connection_timeout

t0)

Type:

int

Type:

socket connection timeout (ms) (property name

property keep_alive_interval

t3)

Type:

int

Type:

maximum interval without communication, send test frame message to prove liveness (ms) (property name

property message_timeout

t1)

Type:

int

Type:

timeout for sent messages to be acknowledged by counterparty (ms) (property name

property receive_window_size
Type:

int

Type:

threshold of unconfirmed incoming messages to send acknowledgments (property name

property send_window_size
Type:

int

Type:

threshold of unconfirmed outgoing messages, before waiting for acknowledgments (property name

Hint

Please do not store a reference to or copy of a c104.ProtocolParameters instance in your code. Always read and write only via the connection.protocol_parameters or server.protocol_parameters property to avoid invalid memory access. This is a raw access to a non-smart-pointer data structure of the underlying lib60870-C.