You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inc/finalmq/streamconnection/ConnectionData.h
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,13 @@ struct BindProperties
49
49
50
50
structConnectConfig
51
51
{
52
-
int reconnectInterval = 1000; ///< if the server is not available, you can pass a reconnection intervall in [ms]
53
-
int totalReconnectDuration = -1; ///< if the server is not available, you can pass a duration in [ms] how long the reconnect shall happen. -1 means: try for ever.
52
+
ConnectConfig(int r = 1000, int t = -1)
53
+
: reconnectInterval(r)
54
+
, totalReconnectDuration(t)
55
+
{
56
+
}
57
+
int reconnectInterval{1000}; ///< if the server is not available, you can pass a reconnection intervall in [ms]
58
+
int totalReconnectDuration{-1}; ///< if the server is not available, you can pass a duration in [ms] how long the reconnect shall happen. -1 means: try for ever.
0 commit comments