消息服务建模类图
2018-11-07 15:39:28 0 举报
消息服务平台类图设计
作者其他创作
大纲/内容
MsgTemplateContent
- contentType: Integer- contentData : String
HlmmsMsgTaskHandler
MsgHandlerFactory
-MsgHandlerMap : Map
- getMsgHandler(code) : MsgHandler-getMsgHandler(msgId) : MsgHandler
旧版
MsgMqService
ZtMsgTaskHandler
MsgTaskHandler
-msgHandler : MsgHandler-msgTaskHelper ;
-setMsgHandler(MsgHandler) : void-setMsgTaskHelper(MsgTaskHelper) : void- sendMsg()-handleMsgTaskToQueue() : void-handleMsgQueueData()-handleCallbackQueueData()-validateTask() : boolean
/表示抽象类或抽象方法
ZtQueueDataHelper
MsgHandlerAnnon
- code() : String- msgType() : MsgTypeEnum
使用注解
MsgHandler(Annon)
+ code() : String+ msgType() : MsgType(enum)+ isDefault() :boolean
Client
+getMsgTask()+getMsgTask()+createMsgTemplate()
HlmmsQueueDataHelper
MsgMqConsumer
MessageHandlerFactory
- msgHandlerMap : Map- defaultHandlerMap : Map
MsgCallback
-callbackType : Integer- msgId : integer- taskId : String-callbackCode : String-callbackMsg : String-callbackExtra : Object
QueueDataHelper
MsgTemplate
- title : String-type : Integer- content : String-contentList : List
MsgHandler
-createTemplate()-approveTemplate()-sendMsg()-sendMsg()-handleCallback()
KxMmsMsgHandler
/MessageTaskHandler
- messageHandler : MessageHandler- msgTaskHelper : MsgTaskHelper- channel : String
AppInfo
- id : Integer-appType : Integer-appName : String
ZtMsgTaskHelper
- sliceSize : Integer- msgSendQueue : String- msgCallbackQueue : String- msgMqService : MsgMqService
BaseMsgMqConsumer
client
QueueMapping
MsgTaskHelper
+/ getSliceSize() : Integer+/ getMsgQueue() : String+/ getCallbackQueue() : String+/ getQueueDataHelper() : QueueDataHelper+/ getMsgMqService() : MsgMqService
MessageTaskHandlerFactory
- handlerMap : Map- defaultHandlerMap : Map- channelMapping : Map
新版
ZtMsgHandler
XXSmsMsgHandler
/MessageHandler
MsgTaskHandlerFactory
- MsgTaskHandlerMap : Map-DefaultHandlerMap : Map
- getMsgTaskHandler(code) - getDefaultMsgHandler(msgType) : MsgHandler
MmsTaskHandler
-slicesSize : Integer-msgQueue : String-msgCallbackQueue : String
MsgTaskHandlerAnnon
- code() : String- msgType() : MsgTypeEnum-isDefault() : boolean
HlmmsMsgTaskHelper
MsgTaskHandler(Annon)
+ code() : String+ msgType() : MsgType(enum)+ isDefault() :boolean+ msgHandler() : String
HlmmsMsgHandler
0 条评论
回复 删除
下一页