| | |
| | | package com.genersoft.iot.vmp.gb28181.transmit.event.timeout.impl; |
| | | |
| | | import com.genersoft.iot.vmp.conf.SystemInfoTimerTask; |
| | | import com.genersoft.iot.vmp.gb28181.event.SipSubscribe; |
| | | import com.genersoft.iot.vmp.gb28181.transmit.SIPProcessorObserver; |
| | | import com.genersoft.iot.vmp.gb28181.transmit.event.timeout.ITimeoutProcessor; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.InitializingBean; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | |
| | | @Component |
| | | public class TimeoutProcessorImpl implements InitializingBean, ITimeoutProcessor { |
| | | |
| | | private Logger logger = LoggerFactory.getLogger(TimeoutProcessorImpl.class); |
| | | |
| | | @Autowired |
| | | private SIPProcessorObserver processorObserver; |
| | |
| | | sipSubscribe.removeErrorSubscribe(callId); |
| | | sipSubscribe.removeOkSubscribe(callId); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | logger.error("[超时事件失败]: {}", e.getMessage()); |
| | | } |
| | | } |
| | | } |