Interface IShortMessageService

  • All Known Implementing Classes:
    ShortMessageService

    public interface IShortMessageService
    Service to post messages.
    • Method Detail

      • sendMessage

        IFuture<java.lang.Void> sendMessage​(java.lang.String text,
                                            java.lang.String sendertoken)
        Send a message to the followers.
        Parameters:
        text - The text.
        sender - The sender.
      • getMessages

        IFuture<java.util.Collection<ShortMessage>> getMessages​(java.lang.String usertoken)
        Get all messages.
        Parameters:
        usertoken - The user token.
        Returns:
        the messages.