Class SubscriptionRequest

  • All Implemented Interfaces:
    Serializable

    public class SubscriptionRequest
    extends Object
    implements Serializable
    Subscription request to be propagated through the cluster to reach the instance which is responsible for the given wsSessionId
    Author:
    maxence
    See Also:
    Serialized Form
    • Constructor Detail

      • SubscriptionRequest

        public SubscriptionRequest()
    • Method Detail

      • getWsSessionId

        public String getWsSessionId()
        Get the ws session id
        Returns:
        the ws session id
      • setWsSessionId

        public void setWsSessionId​(String wsSessionId)
        Set the websocket session id
        Parameters:
        wsSessionId - ws session id
      • getColabSessionId

        public Long getColabSessionId()
        Get http session id
        Returns:
        http session id
      • setColabSessionId

        public void setColabSessionId​(Long colabSessionId)
        Set HTTP session id
        Parameters:
        colabSessionId - id of the HTTP session
      • setChannelType

        public void setChannelType​(SubscriptionRequest.ChannelType channelType)
        Set the type of channel
        Parameters:
        channelType - new channel type
      • getChannelId

        public Long getChannelId()
        Get id channel
        Returns:
        id of the channel
      • setChannelId

        public void setChannelId​(Long channelId)
        Set id of the channel
        Parameters:
        channelId - new id