private static class MessageSender.AsynchSender extends MessageSender
Modifier and Type | Class and Description |
---|---|
private static class |
MessageSender.AsynchSender.Collector
CallableClient implementation which collects asynchronous message
responses.
|
Modifier and Type | Field and Description |
---|---|
private int |
iseq_ |
Modifier | Constructor and Description |
---|---|
private |
AsynchSender() |
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, showResults
public java.util.Map getResponses(HubConnection connection, Message msg, java.lang.String[] recipientIds) throws java.io.IOException
MessageSender
recipientIds
is null, then will be sent to all
subscribed clients.getResponses
in class MessageSender
connection
- hub connectionmsg
- message to sendrecipientIds
- array of recipients to target, or nulljava.io.IOException