Class WsData


  • public class WsData
    extends WsData
    • Method Detail

      • dispose

        public void dispose()
        Description copied from class: WsData
        This method is called on close of the parent websocket. Use it to release blocked resources.
        Overrides:
        dispose in class WsData
      • setUser

        public void setUser​(User user)
      • getUser

        public java.util.concurrent.CompletableFuture<User> getUser()
      • getUserOpt

        public java.util.Optional<User> getUserOpt()
      • getSubscribedChannelsWorker

        public SubscribedEdgesChannelsWorker getSubscribedChannelsWorker()
        Gets the SubscribedChannelsWorker to take care of subscribe to CurrentData.
        Returns:
        the SubscribedChannelsWorker
      • toString

        public java.lang.String toString()
        Description copied from class: WsData
        Provides a specific toString method.
        Specified by:
        toString in class WsData
        Returns:
        a specific string for this instance
      • scheduleWithFixedDelay

        protected java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay​(java.lang.Runnable command,
                                                                                 long initialDelay,
                                                                                 long delay,
                                                                                 java.util.concurrent.TimeUnit unit)
        Description copied from class: WsData
        Execute a Runnable.
        Specified by:
        scheduleWithFixedDelay in class WsData
        Parameters:
        command - the Runnable