Interface IClientService


  • public interface IClientService
    The service interface for the client components, i.e. the browsers.
    • Method Detail

      • receiveMessage

        IFuture<java.lang.Void> receiveMessage​(ShortMessage message)
        Called when a message was received.
        Parameters:
        text - The text.
      • followersChanged

        IFuture<java.lang.Void> followersChanged​(java.util.Collection<User> followers)
        Called when followers changed.
        Parameters:
        followers - The current followers.
      • onlineStateChanged

        IFuture<java.lang.Void> onlineStateChanged​(User user)
        The online state changed.
      • userAdded

        IFuture<java.lang.Void> userAdded​(User user)
        Called when a user was newly registered.
        Parameters:
        user - The new user.