Move reply_is_complete into RWBackend

Moved the reply state checking inside the RWBackend class to make it
possibly reusable in other parts of MaxScale. Also removed a redundant
function.
This commit is contained in:
Markus Mäkelä
2018-03-29 04:28:43 +03:00
parent 3857912c61
commit 8222bdbc20
3 changed files with 28 additions and 32 deletions

View File

@ -83,6 +83,8 @@ public:
return m_command;
}
bool reply_is_complete(GWBUF *buffer);
private:
reply_state_t m_reply_state;
BackendHandleMap m_ps_handles; /**< Internal ID to backend PS handle mapping */