public interface MessageSendService<ACCOUNT extends MessageAccount,SENDER extends MessageSender,RECEIVER extends MessageReceiver,MSG extends Message>
Modifier and Type | Method and Description |
---|---|
void |
sendMessage(ACCOUNT messageAccount,
SENDER messageSender,
Collection<RECEIVER> messageReceivers,
MSG message)
发送单条消息
|
void sendMessage(ACCOUNT messageAccount, SENDER messageSender, Collection<RECEIVER> messageReceivers, MSG message) throws MessageException
messageSender
- 消息发送者messageReceivers
- 消息接收者message
- 消息MessageException
Copyright © 2006–2018 TinyGroup. All rights reserved.