Lines Matching refs:response
138 bool CommandPoller::OnGetCommandResponse(SocketContext& context, ::GetCommandResponse& response) in OnGetCommandResponse() argument
144 nrr.set_command_id(response.command_id()); in OnGetCommandResponse()
148 if (response.has_create_session_cmd()) { in OnGetCommandResponse()
149 if (OnCreateSessionCmd(response.create_session_cmd(), context)) { in OnGetCommandResponse()
154 } else if (response.has_destroy_session_cmd()) { in OnGetCommandResponse()
155 if (OnDestroySessionCmd(response.destroy_session_cmd())) { in OnGetCommandResponse()
160 } else if (response.has_start_session_cmd()) { in OnGetCommandResponse()
161 if (OnStartSessionCmd(response.start_session_cmd(), *pr)) { in OnGetCommandResponse()
166 } else if (response.has_stop_session_cmd()) { in OnGetCommandResponse()
167 if (OnStopSessionCmd(response.stop_session_cmd())) { in OnGetCommandResponse()
172 } else if (response.has_refresh_session_cmd()) { in OnGetCommandResponse()
173 OnReportBasicDataCmd(response.refresh_session_cmd()); in OnGetCommandResponse()