public interface MessageHandler
AbstractMessageHandler than to implement this interface directly.| Modifier and Type | Method and Description | 
|---|---|
| Map | getSubscriptions()Returns a Subscriptions map corresponding to the messages 
 handled by this object. | 
| void | receiveCall(HubConnection connection,
           String senderId,
           String msgId,
           Message message)Processes a message which does require a response. | 
| void | receiveNotification(HubConnection connection,
                   String senderId,
                   Message message)Processes a message which does not require a response. | 
Map getSubscriptions()
Subscriptions-like mapvoid receiveNotification(HubConnection connection, String senderId, Message message) throws Exception
connection - hub connectionsenderId - public ID of client which sent the messagemessage - messageExceptionvoid receiveCall(HubConnection connection, String senderId, String msgId, Message message) throws Exception
connection.reply() is made using the 
 supplied msgId.connection - hub connectionsenderId - public ID of client which sent the messagemsgId - message IDmessage - messageExceptionCopyright © 2008–2024. All rights reserved.