Searched refs:StateChangeType (Results 1 – 2 of 2) sorted by relevance
292 int64_t StatusToProfileConnectionState(uint32_t status, StateChangeType type) { in StatusToProfileConnectionState()294 if (StateChangeType::STATE_CHANGE_TYPE_CONNECT == type) { in StatusToProfileConnectionState()490 static std::map<std::pair<std::string, uint32_t>, StateChangeType> pending_type; in ToProfileConnectionEvent()498 event.type = (int64_t)StateChangeType::STATE_CHANGE_TYPE_CONNECT; in ToProfileConnectionEvent()503 event.type = (int64_t)StateChangeType::STATE_CHANGE_TYPE_CONNECT; in ToProfileConnectionEvent()505 pending_type[key] = StateChangeType::STATE_CHANGE_TYPE_CONNECT; in ToProfileConnectionEvent()510 : (int64_t)StateChangeType::STATE_CHANGE_TYPE_DISCONNECT; in ToProfileConnectionEvent()513 if (StateChangeType::STATE_CHANGE_TYPE_CONNECT == (StateChangeType)event.type && in ToProfileConnectionEvent()517 event.state = StatusToProfileConnectionState(status, (StateChangeType)event.type); in ToProfileConnectionEvent()522 event.type = (int64_t)StateChangeType::STATE_CHANGE_TYPE_DISCONNECT; in ToProfileConnectionEvent()[all …]
171 enum class StateChangeType : int64_t { STATE_CHANGE_TYPE_DISCONNECT = 0, STATE_CHANGE_TYPE_CONNECT … enum