Class GraphQLSessionSubscribeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- org.activiti.cloud.services.notifications.graphql.ws.transport.AbstractGraphQLSubProtocolEvent
-
- org.activiti.cloud.services.notifications.graphql.ws.transport.GraphQLSessionSubscribeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class GraphQLSessionSubscribeEvent extends AbstractGraphQLSubProtocolEvent
Event raised when a new WebSocket client using a GraphQL Messaging Protocol as the WebSocket sub-protocol issues a connect request.Note that this is not the same as the WebSocket session getting established but rather the client's first attempt to connect within the sub-protocol, for example sending the CONNECT frame.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GraphQLSessionSubscribeEvent(java.lang.Object source, org.springframework.messaging.Message<org.activiti.cloud.services.notifications.graphql.ws.api.GraphQLMessage> message)Create a new SessionConnectEvent.GraphQLSessionSubscribeEvent(java.lang.Object source, org.springframework.messaging.Message<org.activiti.cloud.services.notifications.graphql.ws.api.GraphQLMessage> message, java.security.Principal user)
-
Method Summary
-
Methods inherited from class org.activiti.cloud.services.notifications.graphql.ws.transport.AbstractGraphQLSubProtocolEvent
getMessage, getUser, toString
-
-
-
-
Constructor Detail
-
GraphQLSessionSubscribeEvent
public GraphQLSessionSubscribeEvent(java.lang.Object source, org.springframework.messaging.Message<org.activiti.cloud.services.notifications.graphql.ws.api.GraphQLMessage> message)Create a new SessionConnectEvent.- Parameters:
source- the component that published the event (nevernull)message- the connect message
-
GraphQLSessionSubscribeEvent
public GraphQLSessionSubscribeEvent(java.lang.Object source, org.springframework.messaging.Message<org.activiti.cloud.services.notifications.graphql.ws.api.GraphQLMessage> message, java.security.Principal user)
-
-