Class SubscribeCatalogQueryMessageHandler
java.lang.Object
io.github.lunasaw.sip.common.transmit.event.message.MessageHandlerAbstract
io.github.lunasaw.gbproxy.client.transmit.request.subscribe.SubscribeClientHandlerAbstract
io.github.lunasaw.gbproxy.client.transmit.request.subscribe.catalog.SubscribeCatalogQueryMessageHandler
- All Implemented Interfaces:
RequestHandler
,MessageHandler
处理设备通道订阅消息 回复OK
- Author:
- luna
-
Field Summary
Fields inherited from class io.github.lunasaw.gbproxy.client.transmit.request.subscribe.SubscribeClientHandlerAbstract
sipUserGenerate, subscribeProcessorClient
Fields inherited from interface io.github.lunasaw.sip.common.transmit.event.message.MessageHandler
CONTROL, NOTIFY, QUERY, RESPONSE
-
Constructor Summary
ConstructorDescriptionSubscribeCatalogQueryMessageHandler
(SubscribeProcessorClient subscribeProcessorClient, SipUserGenerateClient sipUserGenerate) -
Method Summary
Modifier and TypeMethodDescription处理消息类型处理标签void
handForEvt
(javax.sip.RequestEvent event) 处理消息boolean
是否需要响应ackMethods inherited from class io.github.lunasaw.gbproxy.client.transmit.request.subscribe.SubscribeClientHandlerAbstract
getDeviceSession
Methods inherited from class io.github.lunasaw.sip.common.transmit.event.message.MessageHandlerAbstract
parseRequest, parseRequest, parseXml, responseAck, responseError, responseError, setXmlStr
-
Field Details
-
CMD_TYPE
-
-
Constructor Details
-
SubscribeCatalogQueryMessageHandler
public SubscribeCatalogQueryMessageHandler(SubscribeProcessorClient subscribeProcessorClient, SipUserGenerateClient sipUserGenerate)
-
-
Method Details
-
getRootType
Description copied from interface:MessageHandler
处理标签- Specified by:
getRootType
in interfaceMessageHandler
- Overrides:
getRootType
in classSubscribeClientHandlerAbstract
- Returns:
-
handForEvt
public void handForEvt(javax.sip.RequestEvent event) Description copied from interface:MessageHandler
处理消息- Specified by:
handForEvt
in interfaceMessageHandler
- Overrides:
handForEvt
in classMessageHandlerAbstract
-
getCmdType
Description copied from interface:MessageHandler
处理消息类型- Specified by:
getCmdType
in interfaceMessageHandler
- Overrides:
getCmdType
in classMessageHandlerAbstract
- Returns:
-
needResponseAck
public boolean needResponseAck()Description copied from interface:MessageHandler
是否需要响应ack- Returns:
-