133 #ifndef OPENTXS_SERVER_OTSERVER_HPP
134 #define OPENTXS_SERVER_OTSERVER_HPP
153 class OTServerContract;
168 EXPORT
void Init(
bool readOnly =
false);
185 const char* command =
nullptr);
194 const OTString* messageString =
nullptr,
195 const char* command =
nullptr);
208 bool m_bShutdownFlag;
216 std::unique_ptr<OTServerContract> m_pServerContract;
225 #endif // OPENTXS_SERVER_OTSERVER_HPP
bool IsFlaggedForShutdown() const
bool GetConnectInfo(OTString &hostname, int32_t &port) const
EXPORT void Init(bool readOnly=false)
EXPORT void ActivateCron()
const OTPseudonym & GetServerNym() const