Lines Matching refs:m_state
78 : m_state (initialState) in TcpIpLinkState()
96 return m_state; in getState()
104 return m_state; in getState()
125 m_state = state; in setState()
180 , m_state (state) in TcpIpSendThread()
247 m_state.setState(COMMLINKSTATE_ERROR, e.what()); in run()
265 , m_state (state) in TcpIpRecvThread()
346 m_state.setState(COMMLINKSTATE_ERROR, e.what()); in run()
367 m_state.onKeepaliveReceived(); in handleMessage()
371 …XE_CHECK_MSG(m_state.getState() == COMMLINKSTATE_TEST_PROCESS_LAUNCHING, "Unexpected PROCESS_START… in handleMessage()
372 m_state.setState(COMMLINKSTATE_TEST_PROCESS_RUNNING); in handleMessage()
378 …XE_CHECK_MSG(m_state.getState() == COMMLINKSTATE_TEST_PROCESS_LAUNCHING, "Unexpected PROCESS_LAUNC… in handleMessage()
379 m_state.setState(COMMLINKSTATE_TEST_PROCESS_LAUNCH_FAILED, msg.reason.c_str()); in handleMessage()
385 …XE_CHECK_MSG(m_state.getState() == COMMLINKSTATE_TEST_PROCESS_RUNNING, "Unexpected PROCESS_FINISHE… in handleMessage()
387 m_state.setState(COMMLINKSTATE_TEST_PROCESS_FINISHED); in handleMessage()
400 …XE_CHECK_MSG(m_state.getState() == COMMLINKSTATE_TEST_PROCESS_RUNNING, "Unexpected PROCESS_LOG_DAT… in handleMessage()
401 m_state.onTestLogData(&data[0], dataSize); in handleMessage()
404 m_state.onInfoLogData(&data[0], dataSize); in handleMessage()
415 : m_state (COMMLINKSTATE_ERROR, "Not connected") in TcpIpLink()
416 , m_sendThread (m_socket, m_state) in TcpIpLink()
417 , m_recvThread (m_socket, m_state) in TcpIpLink()
461 XE_CHECK(m_state.getState() == COMMLINKSTATE_ERROR); in connect()
470 m_state.setState(COMMLINKSTATE_READY, ""); in connect()
471 m_state.onKeepaliveReceived(); in connect()
482 m_state.setState(COMMLINKSTATE_ERROR, e.what()); in connect()
492 m_state.setState(COMMLINKSTATE_ERROR, "Not connected"); in disconnect()
496 m_state.setState(COMMLINKSTATE_ERROR, e.what()); in disconnect()
505 m_state.setState(COMMLINKSTATE_READY, ""); in reset()
516 deUint64 lastKeepalive = link->m_state.getLastKeepaliveRecevied(); in keepaliveTimerCallback()
521 link->m_state.setState(COMMLINKSTATE_ERROR, "Keepalive timeout"); in keepaliveTimerCallback()
536 return m_state.getState(); in getState()
541 return m_state.getState(message); in getState()
546 m_state.setCallbacks(stateChangedCallback, testLogDataCallback, infoLogDataCallback, userPtr); in setCallbacks()
551 XE_CHECK(m_state.getState() == COMMLINKSTATE_READY); in startTestProcess()
553 m_state.setState(COMMLINKSTATE_TEST_PROCESS_LAUNCHING); in startTestProcess()
559 XE_CHECK(m_state.getState() != COMMLINKSTATE_ERROR); in stopTestProcess()