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

com.fireflysource.net.websocket.server.WebSocketManager Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package com.fireflysource.net.websocket.server;

/**
 * @author Pengtao Qiu
 */
public interface WebSocketManager {

    /**
     * Find the websocket handler.
     *
     * @param path The request path.
     * @return The websocket handler.
     */
    WebSocketServerConnectionHandler findWebSocketHandler(String path);

    /**
     * Register the websocket handler.
     *
     * @param connectionHandler The websocket handler.
     */
    void register(WebSocketServerConnectionHandler connectionHandler);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy