pull/1169/head
Jeff Becker 6 years ago
parent b046c45a9e
commit 0ced38cdcb
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -165,9 +165,9 @@ namespace stream
void AsyncReceive (const Buffer& buffer, ReceiveHandler handler, int timeout = 0);
size_t ReadSome (uint8_t * buf, size_t len) { return ConcatenatePackets (buf, len); };
void AsyncClose() { m_Service.post(std::bind(&Stream::Close, shared_from_this())); };
void AsyncClose() { m_Service.post(std::bind(&Stream::Close, shared_from_this())); };
/** only call close from destination thread, use Stream::AsyncClose for other threads */
/** only call close from destination thread, use Stream::AsyncClose for other threads */
void Close ();
void Cancel () { m_ReceiveTimer.cancel (); };

@ -77,7 +77,7 @@ namespace client
class SAMBridge;
struct SAMSession;
class SAMSocket :public std::enable_shared_from_this<SAMSocket>
class SAMSocket: public std::enable_shared_from_this<SAMSocket>
{
public:

Loading…
Cancel
Save