|  |  |  | 
|---|
|  |  |  | import javax.sip.RequestEvent; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.genersoft.iot.vmp.gb28181.transmit.request.SIPRequestAbstractProcessor; | 
|---|
|  |  |  | import org.slf4j.Logger; | 
|---|
|  |  |  | import org.slf4j.LoggerFactory; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @Description:暂不支持的消息请求处理器 | 
|---|
|  |  |  | 
|---|
|  |  |  | * @date:   2020年5月3日 下午5:32:59 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public class OtherRequestProcessor extends SIPRequestAbstractProcessor { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private Logger logger = LoggerFactory.getLogger(OtherRequestProcessor.class); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * <p>Title: process</p> | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public void process(RequestEvent evt) { | 
|---|
|  |  |  | System.out.println("Unsupported the method: " + evt.getRequest().getMethod()); | 
|---|
|  |  |  | logger.info("Unsupported the method: " + evt.getRequest().getMethod()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|