//------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. */ //============================================================================== #ifndef RIPPLE_WSDOOR_RIPPLEHEADER #define RIPPLE_WSDOOR_RIPPLEHEADER class WSDoor : protected Thread, LeakChecked { public: WSDoor (std::string const& strIp, int iPort, bool bPublic); ~WSDoor (); void stop (); private: void run (); private: ScopedPointer m_endpoint; CriticalSection m_endpointLock; bool mPublic; std::string mIp; int mPort; }; #endif // vim:ts=4