All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.yandex.qatools.camelot.api.ClientMessageSender Maven / Gradle / Ivy

There is a newer version: 2.5.4
Show newest version
package ru.yandex.qatools.camelot.api;

/**
 * Interface allowing to send the message to the client
 *
 * @author Ilya Sadykov (mailto: [email protected])
 */
public interface ClientMessageSender {
    /**
     * Send the new event to the client via websockets
     */
    default void send(Object message) {
        send(null, message);
    }

    /**
     * Send the new event to the client via websockets using topic
     */
    void send(String topic, Object message);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy