Class MessageServerHandlerAbstract
java.lang.Object
io.github.lunasaw.sip.common.transmit.event.message.MessageHandlerAbstract
io.github.lunasaw.gbproxy.server.transimit.request.message.MessageServerHandlerAbstract
- All Implemented Interfaces:
RequestHandler
,MessageHandler
- Direct Known Subclasses:
AlarmNotifyMessageHandler
,BaseMessageServerHandler
,DeviceInfoMessageServerHandler
,KeepaliveNotifyMessageHandler
,MediaStatusNotifyMessageHandler
,MobilePositionNotifyMessageHandler
,RecordInfoMessageHandler
,ResponseCatalogMessageHandler
- Author:
- luna
-
Field Summary
Fields inherited from interface io.github.lunasaw.sip.common.transmit.event.message.MessageHandler
CONTROL, NOTIFY, QUERY, RESPONSE
-
Constructor Summary
ConstructorDescriptionMessageServerHandlerAbstract
(MessageProcessorServer messageProcessorServer, SipUserGenerateServer sipUserGenerate) -
Method Summary
Modifier and TypeMethodDescriptiongetDeviceSession
(javax.sip.RequestEvent event) 处理标签boolean
preCheck
(javax.sip.RequestEvent event) Methods inherited from class io.github.lunasaw.sip.common.transmit.event.message.MessageHandlerAbstract
getCmdType, handForEvt, parseRequest, parseRequest, parseXml, responseAck, responseError, responseError, setXmlStr
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.lunasaw.sip.common.transmit.event.message.MessageHandler
needResponseAck
-
Field Details
-
messageProcessorServer
-
sipUserGenerate
-
-
Constructor Details
-
MessageServerHandlerAbstract
public MessageServerHandlerAbstract(MessageProcessorServer messageProcessorServer, SipUserGenerateServer sipUserGenerate)
-
-
Method Details
-
getRootType
Description copied from interface:MessageHandler
处理标签- Specified by:
getRootType
in interfaceMessageHandler
- Overrides:
getRootType
in classMessageHandlerAbstract
- Returns:
-
getDeviceSession
- Overrides:
getDeviceSession
in classMessageHandlerAbstract
-
preCheck
public boolean preCheck(javax.sip.RequestEvent event)
-