List of usage examples for org.springframework.web.socket SubProtocolCapable interface-usage
From source file com.pubkit.platform.messaging.PKMPConnectionHandler.java
public class PKMPConnectionHandler extends TextWebSocketHandler implements SubProtocolCapable { private static Logger LOG = LoggerFactory.getLogger(PKMPConnectionHandler.class); private static final String PING = "ping"; private static final String PONG = "pong";
From source file org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.java
/**
* An implementation of {@link WebSocketHandler} that delegates incoming WebSocket
* messages to a {@link SubProtocolHandler} along with a {@link MessageChannel} to which
* the sub-protocol handler can send messages from WebSocket clients to the application.
*
* <p>Also an implementation of {@link MessageHandler} that finds the WebSocket session