Class PingMessageHandler

    • Constructor Detail

      • PingMessageHandler

        public PingMessageHandler()
        Constructor.
    • Method Detail

      • processCall

        public java.util.Map processCall​(HubConnection conn,
                                         java.lang.String senderId,
                                         Message msg)
        Description copied from class: AbstractMessageHandler
        Implements message processing. Implementations should normally return a map which contains the 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.
        Specified by:
        processCall in class AbstractMessageHandler
        Parameters:
        conn - hub connection
        senderId - public ID of sender client
        msg - message with MType this handler is subscribed to
        Returns:
        result of handling this message; exact semantics determined by createResponse implementation