Table of Contents

Constructor SessionConfiguration

Namespace
Tooq.Tech.FH.ClientLib
Assembly
Tooq.Tech.FH.ClientLib.dll

SessionConfiguration(string, int, bool, int, int, int)

Create an instance of the Session Configuration object

public SessionConfiguration(string hostAddress, int hostPort, bool shouldReconnectAutomatically, int receiveBufferSize = 8192, int sendBufferSize = 8192, int heartbeatInterval = 30)

Parameters

hostAddress string

Host IP address in string format.

hostPort int

Host port.

shouldReconnectAutomatically bool

Indicates whether the session should try to reconnect automatically in case of disconnection

receiveBufferSize int

Receive buffer size for the connection. Default is 8192.

sendBufferSize int

Send buffer size for the connection. Default is 8192.

heartbeatInterval int

Exceptions

ArgumentNullException