diff --git a/aeron-client/src/main/cpp_wrapper/Context.h b/aeron-client/src/main/cpp_wrapper/Context.h index ad10ceda66..7ea1f07cb7 100644 --- a/aeron-client/src/main/cpp_wrapper/Context.h +++ b/aeron-client/src/main/cpp_wrapper/Context.h @@ -278,6 +278,16 @@ class Context return *this; } + /** + * Get the directory that the Aeron client will use to communicate with the media driver. + * + * @return aeron directory + */ + inline std::string aeronDir() + { + return std::string(aeron_context_get_dir(m_context)); + } + /** * Set the name for this Aeron client. *