Class GraphQLSessionConnectEvent
- 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.GraphQLSessionConnectEvent
-
- All Implemented Interfaces:
Serializable
public class GraphQLSessionConnectEvent 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
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description GraphQLSessionConnectEvent(Object source, org.springframework.messaging.Message<GraphQLMessage> message)Create a new SessionConnectEvent.GraphQLSessionConnectEvent(Object source, org.springframework.messaging.Message<GraphQLMessage> message, Principal user)
-
Method Summary
-
Methods inherited from class org.activiti.cloud.services.notifications.graphql.ws.transport.AbstractGraphQLSubProtocolEvent
getMessage, getUser, toString
-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Constructor Detail
-
GraphQLSessionConnectEvent
public GraphQLSessionConnectEvent(Object source, org.springframework.messaging.Message<GraphQLMessage> message)
Create a new SessionConnectEvent.- Parameters:
source- the component that published the event (nevernull)message- the connect message
-
GraphQLSessionConnectEvent
public GraphQLSessionConnectEvent(Object source, org.springframework.messaging.Message<GraphQLMessage> message, Principal user)
-
-