Interface IShortMessageService
-
- All Known Implementing Classes:
ShortMessageService
public interface IShortMessageService
Service to post messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.util.Collection<ShortMessage>>
getMessages(java.lang.String usertoken)
Get all messages.IFuture<java.lang.Void>
sendMessage(java.lang.String text, java.lang.String sendertoken)
Send a message to the followers.
-
-
-
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.
-
-