Constructor SessionConfiguration
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
stringHost IP address in string format.
hostPort
intHost port.
shouldReconnectAutomatically
boolIndicates whether the session should try to reconnect automatically in case of disconnection
receiveBufferSize
intReceive buffer size for the connection. Default is 8192.
sendBufferSize
intSend buffer size for the connection. Default is 8192.
heartbeatInterval
int