class PingMessageHandler extends AbstractMessageHandler
Constructor and Description |
---|
PingMessageHandler()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map |
processCall(HubConnection conn,
java.lang.String senderId,
Message msg)
Implements message processing.
|
createResponse, getSubscriptions, receiveCall, receiveNotification, setSubscriptions
public java.util.Map processCall(HubConnection conn, java.lang.String senderId, Message msg)
AbstractMessageHandler
samp.result
part
of the call response, that is the MType-specific return value
name->value map.
As a special case, returning null is equivalent to returning an empty
map.
However, if AbstractMessageHandler.createResponse(java.util.Map)
is overridden, the return value
semantics may be different.processCall
in class AbstractMessageHandler
conn
- hub connectionsenderId
- public ID of sender clientmsg
- message with MType this handler is subscribed tocreateResponse
implementation