Interface IClientService
-
public interface IClientService
The service interface for the client components, i.e. the browsers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Void>
followersChanged(java.util.Collection<User> followers)
Called when followers changed.IFuture<java.lang.Void>
onlineStateChanged(User user)
The online state changed.IFuture<java.lang.Void>
receiveMessage(ShortMessage message)
Called when a message was received.IFuture<java.lang.Void>
userAdded(User user)
Called when a user was newly registered.
-
-
-
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.
-
-