private static class MessageSender.NotifySender extends MessageSender
| Modifier | Constructor and Description |
|---|---|
private |
NotifySender() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getResponses(HubConnection connection,
Message msg,
java.lang.String[] recipientIds)
Sends a message to a given list of recipients.
|
main, runMain, showResultspublic java.util.Map getResponses(HubConnection connection, Message msg, java.lang.String[] recipientIds) throws java.io.IOException
MessageSenderrecipientIds is null, then will be sent to all
subscribed clients.getResponses in class MessageSenderconnection - hub connectionmsg - message to sendrecipientIds - array of recipients to target, or nulljava.io.IOException