Commit d8f85568 authored by legoc's avatar legoc
Browse files

Removed waiting from OutputStreamSocket

parent c160b0a0
......@@ -68,8 +68,6 @@ public:
private:
OutputStreamSocket(StreamSocketImpl * impl);
WaitingImpl * waiting();
int m_applicationId;
bool m_ended;
bool m_canceled;
......
......@@ -122,9 +122,4 @@ bool OutputStreamSocket::isCanceled() const {
return m_canceled;
}
WaitingImpl * OutputStreamSocket::waiting() {
// We transfer the ownership of cancel socket to WaitingImpl
return new SocketWaitingImpl(m_impl->m_cancelSocket.get(), message::Event::CANCEL);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment