A pure abstract interface implemented by a TcpMsgSession in order to receive calls from the associated ITcpMsgSessionHandler.
struct ITcpMsgSession
{
virtual void RequestClose() = 0;
virtual void OnMoreToSend() = 0;
};
void RequestClose()
Indicates that the session is no longer needed and can be closed. This happens after this function call returns.
void OnMoreToSend()
Indicates there are more messages to be sent. This is needed to recommence message sending after ReadMessage() has returned NoMessage.