Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ option(AE_BUILD_TOOLS "Build tools" ${AE_ROOT_PORJECT})
option(AE_BUILD_EXAMPLES "Build examples" ${AE_ROOT_PORJECT})
option(AE_BUILD_TESTS "Build tests" ${AE_ROOT_PORJECT})
option(AE_BUILD_ANDROID_SMOKE "Build Android NDK smoke shared library and runner" Off)
option(AE_ENABLE_PRIVILEGED_NETWORK_TESTS "Enable Administrator/network live tests" Off)
option(AE_ADDRESS_SANITIZE "Enable address sanitizer" Off)

set(UTM_ID "0" CACHE STRING "User Tracking Measurement ID, must be a uint32 value")
Expand Down Expand Up @@ -134,7 +135,7 @@ CPMAddPackage(
CPMAddPackage(
NAME ae-numeric
GIT_REPOSITORY "https://github.com/aethernetio/aethernet-numeric.git"
GIT_TAG "main"
GIT_TAG "3ab9e7310a2f8e6240931261c07c3a0c39771ec2"
OPTIONS "AE_NUMERIC_INSTALL ${AE_INSTALL}" "AE_BUILD_TESTS OFF"
EXCLUDE_FROM_ALL FALSE
)
Expand Down Expand Up @@ -320,6 +321,7 @@ target_compile_options(${TARGET_NAME} PRIVATE
/w15262 #implisitfallthrough
/wd4388 #Wno-sign-compare
/wd4389 #Wno-sign-compare
/wd4702 # unreachable in ae-numeric FixedPoint/Exponential templates
/Zc:preprocessor
>
)
Expand All @@ -344,6 +346,7 @@ if(AE_BUILD_EXAMPLES)
add_subdirectory(examples/common)
add_subdirectory(examples/cloud)
add_subdirectory(examples/a_b_message_exchange)
add_subdirectory(examples/remote_presence_live)
add_subdirectory(examples/message_server)
add_subdirectory(examples/capi/oddity)
add_subdirectory(examples/benches/send_message_delays)
Expand Down
4 changes: 3 additions & 1 deletion aether/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ list(APPEND aether_srcs
"ae_actions/ping.cpp"
"ae_actions/check_access_for_send_message.cpp"
"ae_actions/telemetry.cpp"
"ae_actions/select_client.cpp")
"ae_actions/select_client.cpp"
"ae_actions/query_peer_presence.cpp")

list(APPEND aether_srcs
"registration/api/client_reg_api_safe.cpp"
Expand Down Expand Up @@ -179,6 +180,7 @@ list(APPEND aether_srcs
"cloud_connections/cloud_server_connection.cpp"
"cloud_connections/cloud_server_connections.cpp"
"cloud_connections/ping_cloud_servers.cpp"
"cloud_connections/local_presence_machine.cpp"
"cloud_connections/cloud_subscription.cpp"
"cloud_connections/cloud_request.cpp")

Expand Down
2 changes: 2 additions & 0 deletions aether/ae_actions/ping.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ class Ping {
Ping(AeContext const& ae_context,
CloudServerConnection& cloud_server_connection, Duration next_ping_hint,
Duration rx_window, Duration timeout);
// `timeout` is the hard wait for a Pong (cleanup). Local Presence retry
// deadlines (pXX) are owned by LocalPresenceMachine, not this timer.

AE_CLASS_NO_COPY_MOVE(Ping);

Expand Down
Loading
Loading