133 #ifndef OPENTXS_CLIENT_OTSERVERCONNECTION_HPP
134 #define OPENTXS_CLIENT_OTSERVERCONNECTION_HPP
141 class TransportCallback;
145 class OTServerContract;
150 static void Initialize();
151 static bool s_bInitialized;
179 return m_pServerContract;
222 #endif // OPENTXS_CLIENT_OTSERVERCONNECTION_HPP
bool SetFocus(OTPseudonym &theNym, OTServerContract &theServerContract, TransportCallback *pCallback)
bool SignAndSend(OTMessage &theMessage) const
bool ProcessType1Cmd(u_header &theCMD, OTMessage &theServerReply) const
EXPORT bool Connect(const OTPseudonym &, const OTServerContract &, const OTString &, const OTString &, const OTString &) const
OTServerContract * GetServerContract() const
void ProcessMessageOut(const char *buf, const int32_t *pnExpectReply)
OTWallet * GetWallet() const
bool GetServerID(OTIdentifier &theID) const
void OnServerResponseToGetRequestNumber(int64_t lNewRequestNumber) const
OTPseudonym * GetNym() const
EXPORT ~OTServerConnection()
OTServerConnection(OTWallet &theWallet, OTClient &theClient)
EXPORT bool ProcessInBuffer(const OTMessage &) const
bool ProcessReply(u_header &theCMD, OTMessage &theServerReply)