Handler for MultiplexedMsgConnection
struct IMultiplexedMsgHandler
{
virtual void OnReadFailure(MultiplexedMsgConnection* c, SocketErrorCode ec) = 0;
virtual void OnWriteFailure(MultiplexedMsgConnection* c, SocketErrorCode ec) = 0;
virtual void OnRelease(MultiplexedMsgConnection* c) = 0;
virtual void OnRequestClose(MultiplexedMsgConnection* c) = 0;
};
void OnReadFailure(MultiplexedMsgConnection* c, SocketErrorCode ec)
Forwarded from the OnReadFailure() notification passed to the ITcpMsgHandler.
void OnWriteFailure(MultiplexedMsgConnection* c, SocketErrorCode ec)
Forwarded from the OnWriteFailure() notification passed to the ITcpMsgHandler.
void OnRelease(MultiplexedMsgConnection* c)
Forwarded from the OnRelease() notification passed to the ITcpMsgHandler.
void OnRequestClose(MultiplexedMsgConnection* c)
Called when RequestClose() is called on the MultiplexedMsgConnection.