Package org.powertac.visualizer.config
Class WebsocketConfiguration
- java.lang.Object
-
- org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
-
- org.powertac.visualizer.config.WebsocketConfiguration
-
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
@Configuration @EnableWebSocketMessageBroker public class WebsocketConfiguration extends org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
-
-
Field Summary
Fields Modifier and Type Field Description static StringIP_ADDRESS
-
Constructor Summary
Constructors Constructor Description WebsocketConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)voidconfigureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config)org.springframework.web.socket.server.HandshakeInterceptorhttpSessionHandshakeInterceptor()voidregisterStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
-
-
-
Field Detail
-
IP_ADDRESS
public static final String IP_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
configureClientOutboundChannel
public void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
- Specified by:
configureClientOutboundChannelin interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer- Overrides:
configureClientOutboundChannelin classorg.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry config)
- Specified by:
configureMessageBrokerin interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer- Overrides:
configureMessageBrokerin classorg.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
-
registerStompEndpoints
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
-
httpSessionHandshakeInterceptor
@Bean public org.springframework.web.socket.server.HandshakeInterceptor httpSessionHandshakeInterceptor()
-
-