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.
        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.
        the SubscribedChannelsWorker
      • toString

        public java.lang.String toString()
        Description copied from class: WsData
        Provides a specific toString method.
        Specified by:
        toString in class WsData
        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
        command - the Runnable