|
|
@@ -1801,12 +1801,6 @@ bool CVtmLoaderFSM::GetConfig()
|
|
|
ITimerListener* pListener = new TimerOutHelper<CVtmLoaderFSM>(this, &CVtmLoaderFSM::OnCentersettingUpdateTimeout, pTmpData);
|
|
|
GetEntityBase()->GetFunction()->SetTimer(TIMER_CENTERSETTING_UPDATE_CHECK, pListener, CENTERSETTING_UPDATE_CHECK_TIME);
|
|
|
|
|
|
- eErr = SubscribeEntitysEvents();
|
|
|
- if (eErr != Error_Succeed)
|
|
|
- DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("subscribe event fail, 0x%x", eErr);
|
|
|
- else
|
|
|
- DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("subscribe event succeed");
|
|
|
-
|
|
|
CSmartPointer<IConfigInfo> pConfig;
|
|
|
CSimpleString t_endpoint, t_topicSys, t_topicUser, t_topicBeidou, t_bussSys, t_bussUser, t_VTMWeb;
|
|
|
|
|
|
@@ -1867,20 +1861,7 @@ bool CVtmLoaderFSM::GetConfig()
|
|
|
DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_USER).setLogCode("QLR040210F13")("Get config succeed.");
|
|
|
return true;
|
|
|
}
|
|
|
-ErrorCodeEnum CVtmLoaderFSM::SubscribeEntitysEvents()
|
|
|
-{
|
|
|
- //want to do what?
|
|
|
- auto rc = Error_Succeed;
|
|
|
- /*GifutTest20250314 begin*/
|
|
|
- CSmartPointer<IEntityFunction> pFunc = GetEntityBase()->GetFunction();
|
|
|
- rc = pFunc->RegistTerminalStateChangeEvent(dynamic_cast<ITerminalStateChangedListener*>(this->GetEntityBase()));
|
|
|
- if (rc != Error_Succeed)
|
|
|
- {
|
|
|
- DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM)("RegistTerminalStateChangeEvent failed: %s", SpStrError(rc));
|
|
|
- }
|
|
|
- /*GifutTest20250314 end*/
|
|
|
- return rc;
|
|
|
-}
|
|
|
+
|
|
|
int CVtmLoaderFSM::HttpConnCheck(CSimpleStringA csHttAddr, HttpAddrType eType)
|
|
|
{
|
|
|
DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("to HttpConnCheck");
|