MXS-2068: Move common functionality into RWBackend
The RWBackend now updates the internal state when a new write is done in addition to acknowledging it when the reply is complete.
This commit is contained in:
@ -54,11 +54,6 @@ public:
|
||||
return m_reply_state;
|
||||
}
|
||||
|
||||
inline void set_reply_state(reply_state_t state)
|
||||
{
|
||||
m_reply_state = state;
|
||||
}
|
||||
|
||||
void add_ps_handle(uint32_t id, uint32_t handle);
|
||||
uint32_t get_ps_handle(uint32_t id) const;
|
||||
|
||||
@ -132,5 +127,10 @@ private:
|
||||
{
|
||||
m_opening_cursor = false;
|
||||
}
|
||||
|
||||
inline void set_reply_state(reply_state_t state)
|
||||
{
|
||||
m_reply_state = state;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user