Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAA-1087: Fix undefined reference to DISCONNECT_TIMEOUT #1531

Merged
merged 1 commit into from
May 31, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,18 @@ class ChannelConnection: public std::enable_shared_from_this<ChannelConnection>

static const std::uint32_t KAA_PLATFORM_PROTOCOL_AVRO_ID = 0xf291f2d4;

static const auto CHANNEL_TIMEOUT = 200;
static const auto PING_TIMEOUT = CHANNEL_TIMEOUT / 2;
static const auto CONN_ACK_TIMEOUT = 20;
static const auto DISCONNECT_TIMEOUT = 3;
static const int CHANNEL_TIMEOUT = 200;
static const int PING_TIMEOUT = CHANNEL_TIMEOUT / 2;
static const int CONN_ACK_TIMEOUT = 20;
static const int DISCONNECT_TIMEOUT = 3;
};

const std::uint32_t ChannelConnection::KAA_PLATFORM_PROTOCOL_AVRO_ID;
const int ChannelConnection::CHANNEL_TIMEOUT;
const int ChannelConnection::PING_TIMEOUT;
const int ChannelConnection::CONN_ACK_TIMEOUT;
const int ChannelConnection::DISCONNECT_TIMEOUT;

ChannelConnection::ChannelConnection(IKaaChannelManager& channelManager,
const KeyPair& clientKeys,
IKaaClientContext& context,
Expand Down