public interface MessageSendProcessor<SENDER extends MessageSender,RECEIVER extends MessageReceiver,MSG extends Message>
Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(SENDER messageSender,
RECEIVER messageReceiver,
MSG message)
返回是否是匹配的消息
|
void |
processMessage(SENDER messageSender,
RECEIVER messageReceiver,
MSG message)
进行处理
|
Copyright © 2006–2018 TinyGroup. All rights reserved.