Class GraphQLSessionUnsubscribeEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class GraphQLSessionUnsubscribeEvent
    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
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphQLSessionUnsubscribeEvent​(java.lang.Object source, org.springframework.messaging.Message<org.activiti.cloud.services.notifications.graphql.ws.api.GraphQLMessage> message)
      Create a new SessionConnectEvent.
      GraphQLSessionUnsubscribeEvent​(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.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GraphQLSessionUnsubscribeEvent

        public GraphQLSessionUnsubscribeEvent​(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 (never null)
        message - the connect message
      • GraphQLSessionUnsubscribeEvent

        public GraphQLSessionUnsubscribeEvent​(java.lang.Object source,
                                              org.springframework.messaging.Message<org.activiti.cloud.services.notifications.graphql.ws.api.GraphQLMessage> message,
                                              java.security.Principal user)