summaryrefslogtreecommitdiff
path: root/apps/Gateway/Gateway/Connection_Handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Gateway/Gateway/Connection_Handler.h')
-rw-r--r--apps/Gateway/Gateway/Connection_Handler.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/Gateway/Gateway/Connection_Handler.h b/apps/Gateway/Gateway/Connection_Handler.h
index a8a72830135..3003a81874e 100644
--- a/apps/Gateway/Gateway/Connection_Handler.h
+++ b/apps/Gateway/Gateway/Connection_Handler.h
@@ -79,12 +79,12 @@ public:
CONNECTION_ID connection_id (void) const;
// = Set/get the current retry timeout delay.
- void timeout (long);
- long timeout (void);
+ void timeout (int);
+ int timeout (void);
// = Set/get the maximum retry timeout delay.
- void max_timeout (long);
- long max_timeout (void) const;
+ void max_timeout (int);
+ int max_timeout (void) const;
// = Set/get proxy role (i.e., 'S' for Supplier and 'C' for Consumer
// (necessary for error checking).
@@ -124,10 +124,10 @@ protected:
State state_;
// The current state of the proxy.
- long timeout_;
+ int timeout_;
// Amount of time to wait between reconnection attempts.
- long max_timeout_;
+ int max_timeout_;
// Maximum amount of time to wait between reconnection attempts.
char connection_role_;