133 #ifndef OPENTXS_SERVER_SERVERLOADER_HPP
134 #define OPENTXS_SERVER_SERVERLOADER_HPP
142 #define SERVER_CONFIG_KEY "server"
154 #if defined(OT_SIGNAL_HANDLING)
162 "server main(): ASSERT: nullptr == server_.");
167 "server main(): ASSERT: Unable to instantiate OT server.\n");
170 bool setupPathsSuccess =
false;
175 setupPathsSuccess =
true;
178 "main(): Assert failed: Failed to set OT Path");
229 "server main: Unable to find my own connect "
230 "info (which SHOULD be in my server contract, "
231 "BTW.) Perhaps you failed trying to open that "
232 "contract? Have you tried the test password? "
246 #endif // OPENTXS_SERVER_SERVERLOADER_HPP
static EXPORT OTCrypto * It()
static EXPORT void Cleanup()
#define SERVER_CONFIG_KEY
bool GetConnectInfo(OTString &hostname, int32_t &port) const
static EXPORT bool IsInitialized()
static EXPORT bool Init(const OTString &strThreadContext)
EXPORT void Init(bool readOnly=false)
static EXPORT void SetupSignalHandler()
EXPORT void ActivateCron()
#define OT_ASSERT_MSG(x, s)
EXPORT void Cleanup() const
static EXPORT void vOutput(int32_t nVerbosity, const char *szOutput,...)