Interface IMessageWsService

All Known Implementing Classes:
MessageWsService

public interface IMessageWsService
The interface for a message service for websockets.
Author:
ActiveViam
  • Method Details

    • connect

      void connect(IWsSession session, IMessageWsService.FetchMessageMode fetchMode)
      Connects a new socket to the service.
      Parameters:
      session - the new session
      fetchMode - the mode for fetching the existing messages
    • disconnect

      void disconnect(IWsSession session)
      Disconnects a socket from the service.
      Parameters:
      session - the session about to close