133 #ifndef OPENTXS_CLIENT_OT_UTILITY_OT_HPP
134 #define OPENTXS_CLIENT_OT_UTILITY_OT_HPP
140 #define OT_UTILITY_OT
147 return 0 < nValue.length();
152 const std::string& USER_ID,
153 const std::string& ACCOUNT_ID,
154 const std::string& strAttempt,
155 const std::string& strResponse);
161 const std::string& USER_ID,
162 const std::string& ACCOUNT_ID,
163 const std::string& strMessage);
166 const std::string& USER_ID,
167 const std::string& ACCOUNT_ID,
168 const std::string& strMessage);
185 const std::string& nymID,
bool& bWasMsgSent);
188 const std::string& nymID,
bool& bWasMsgSent,
189 bool bForceDownload);
192 const std::string& nymID,
bool& bWasMsgSent,
193 bool bForceDownload, int32_t nRequestNumber,
194 bool& bFoundNymboxItem,
bool bHarvestingForRetry,
197 const std::string& serverID,
const std::string& nymID,
198 const std::string& accountID, int32_t nBoxType,
199 int64_t strTransactionNum,
bool& bWasSent);
201 const std::string& serverID,
const std::string& nymID,
202 const std::string& accountID, int32_t nBoxType,
203 int64_t strTransactionNum);
206 const std::string& accountID,
bool& bWasSentInbox,
207 bool& bWasSentAccount);
210 const std::string& accountID,
bool& bWasSentInbox,
211 bool& bWasSentAccount,
bool bForceDownload);
214 const std::string& nymID,
215 const std::string& accountID,
bool& bWasSentInbox,
216 bool& bWasSentAccount,
bool bForceDownload);
219 const std::string& accountID,
bool& bWasSent);
221 const std::string& nymID,
222 const std::string& accountID,
223 bool& bWasSent,
bool bForce);
225 const std::string& accountID);
227 const std::string& accountID,
bool bForceDownload);
229 const std::string& serverID,
const std::string& nymID,
230 const std::string& accountID);
232 const std::string& nymID,
233 const std::string& accountID,
234 bool bForceDownload);
236 const std::string& serverID,
const std::string& nymID,
237 const std::string& accountID,
bool bForceDownload);
241 getNymbox(
const std::string& serverID,
const std::string& nymID);
243 const std::string& nymID,
244 bool bForceDownload);
246 const std::string& nymID);
248 const std::string& nymID,
252 const std::string& accountID,
bool& bWasSent);
254 const std::string& nymID,
255 const std::string& accountID,
256 bool& bWasSent,
bool bForce);
260 const std::string& nymID,
263 const std::string& nymID);
265 const std::string& nymID,
266 bool bForceFirstCall);
269 const std::string& nymID,
bool& bWasSent);
271 const std::string& serverID,
const std::string& nymID,
272 const std::string& accountID, int32_t nBoxType);
274 const std::string& serverID,
const std::string& nymID,
275 const std::string& accountID, int32_t nBoxType, int32_t nRequestSeeking,
279 processNymbox(
const std::string& serverID,
const std::string& nymID,
280 bool& bWasMsgSent, int32_t& nMsgSentRequestNumOut,
281 int32_t& nReplySuccessOut, int32_t& nBalanceSuccessOut,
282 int32_t& nTransSuccessOut);
284 const std::string& serverID17,
const std::string& nymID,
285 int32_t nRequestNumber8,
const std::string& IN_FUNCTION);
288 const std::string& nymID,
289 int32_t nRequestNumber7,
290 const std::string& IN_FUNCTION);
293 const std::string& nymID)
const;
300 #endif // OPENTXS_CLIENT_OT_UTILITY_OT_HPP
EXPORT OT_UTILITY_OT int32_t getAndProcessNymbox_3(const std::string &serverID, const std::string &nymID, bool &bWasMsgSent)
EXPORT OT_UTILITY_OT int32_t getNymbox(const std::string &serverID, const std::string &nymID)
std::string strLastReplyReceived
EXPORT OT_UTILITY_OT int32_t getOutboxLowLevel(const std::string &serverID, const std::string &nymID, const std::string &accountID, bool &bWasSent)
EXPORT OT_UTILITY_OT int32_t getNbrTransactionCount() const
EXPORT OT_UTILITY_OT bool getBoxReceiptWithErrorCorrection(const std::string &serverID, const std::string &nymID, const std::string &accountID, int32_t nBoxType, int64_t strTransactionNum)
EXPORT OT_UTILITY_OT bool getBoxReceiptLowLevel(const std::string &serverID, const std::string &nymID, const std::string &accountID, int32_t nBoxType, int64_t strTransactionNum, bool &bWasSent)
EXPORT OT_UTILITY_OT int32_t getAndProcessNymbox_4(const std::string &serverID, const std::string &nymID, bool &bWasMsgSent, bool bForceDownload)
EXPORT OT_UTILITY_OT bool insureHaveAllBoxReceipts(const std::string &serverID, const std::string &nymID, const std::string &accountID, int32_t nBoxType)
EXPORT OT_UTILITY_OT std::string getLastReplyReceived() const
EXPORT OT_UTILITY_OT int32_t receiveReplySuccessLowLevel(const std::string &serverID18, const std::string &nymID, int32_t nRequestNumber7, const std::string &IN_FUNCTION)
EXPORT OT_UTILITY_OT void delay() const
OT_UTILITY_OT int32_t VerifyMsgBalanceAgrmntSuccess(const string &SERVER_ID, const string &USER_ID, const string &ACCOUNT_ID, const string &strMessage)
OT_UTILITY_OT int32_t VerifyMessageSuccess(const string &strMessage)
EXPORT OT_UTILITY_OT bool getIntermediaryFiles_old(const std::string &serverID, const std::string &nymID, const std::string &accountID, bool bForceDownload)
OT_UTILITY_OT int32_t InterpretTransactionMsgReply(const string &SERVER_ID, const string &USER_ID, const string &ACCOUNT_ID, const string &strAttempt, const string &strResponse)
EXPORT OT_UTILITY_OT int32_t getNymboxLowLevel(const std::string &serverID, const std::string &nymID)
OT_UTILITY_OT bool VerifyExists(const string &theObjectNameAsStr)
EXPORT OT_UTILITY_OT int32_t getInboxAccount_old(const std::string &serverID, const std::string &nymID, const std::string &accountID, bool &bWasSentInbox, bool &bWasSentAccount, bool bForceDownload)
EXPORT OT_UTILITY_OT int32_t getRequestNumber(const std::string &serverID, const std::string &nymID)
EXPORT OT_UTILITY_OT bool getTransactionNumbers(const std::string &serverID, const std::string &nymID)
EXPORT OT_UTILITY_OT void setNbrTransactionCount(int32_t new_trans_dl)
OT_UTILITY_OT bool VerifyStringVal(const std::string &nValue)
EXPORT OT_UTILITY_OT std::string ReceiveReplyLowLevel(const std::string &serverID17, const std::string &nymID, int32_t nRequestNumber8, const std::string &IN_FUNCTION)
EXPORT OT_UTILITY_OT int32_t getAndProcessNymbox_8(const std::string &serverID, const std::string &nymID, bool &bWasMsgSent, bool bForceDownload, int32_t nRequestNumber, bool &bFoundNymboxItem, bool bHarvestingForRetry, const OTfourbool &bMsgFoursome)
EXPORT OT_UTILITY_OT int32_t processNymbox(const std::string &serverID, const std::string &nymID, bool &bWasMsgSent, int32_t &nMsgSentRequestNumOut, int32_t &nReplySuccessOut, int32_t &nBalanceSuccessOut, int32_t &nTransSuccessOut)
OT_UTILITY_OT int32_t VerifyMsgTrnxSuccess(const string &SERVER_ID, const string &USER_ID, const string &ACCOUNT_ID, const string &strMessage)
EXPORT OT_UTILITY_OT int32_t sendProcessNymboxLowLevel(const std::string &serverID, const std::string &nymID) const
std::array< bool, 4 > OTfourbool
EXPORT OT_UTILITY_OT void setLastReplyReceived(const std::string &strReply)
EXPORT OT_UTILITY_OT int32_t getInboxAccount(const std::string &serverID, const std::string &nymID, const std::string &accountID, bool &bWasSentInbox, bool &bWasSentAccount)
EXPORT OT_UTILITY_OT int32_t getInboxLowLevel(const std::string &serverID, const std::string &nymID, const std::string &accountID, bool &bWasSent)
EXPORT OT_UTILITY_OT bool getIntermediaryFiles(const std::string &serverID, const std::string &nymID, const std::string &accountID)
EXPORT OT_UTILITY_OT Utility()
EXPORT OT_UTILITY_OT void longDelay() const
EXPORT OT_UTILITY_OT int32_t getTransactionNumLowLevel(const std::string &serverID, const std::string &nymID, bool &bWasSent)
EXPORT OT_UTILITY_OT bool getInboxOutboxAccount(const std::string &accountID)
EXPORT OT_UTILITY_OT ~Utility()