Class ShortMessageAgent
- java.lang.Object
-
- org.activecomponents.shortmessages.ShortMessageAgent
-
public class ShortMessageAgent extends java.lang.Object
Agent that implements the core services for - sending messages to followers - user management
-
-
Constructor Summary
Constructors Constructor Description ShortMessageAgent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IFuture<java.lang.Void>
notifyClient(IInternalAccess component, User rec, IResultCommand<IFuture<java.lang.Void>,IClientService> cmd)
Notify online clients of some events.static IFuture<java.lang.Void>
notifyClients(IInternalAccess component, java.util.Collection<User> recs, IResultCommand<IFuture<java.lang.Void>,IClientService> cmd)
Notify online clients of some events.
-
-
-
Method Detail
-
notifyClient
public static IFuture<java.lang.Void> notifyClient(IInternalAccess component, User rec, IResultCommand<IFuture<java.lang.Void>,IClientService> cmd)
Notify online clients of some events.- Parameters:
component
-- Returns:
-
notifyClients
public static IFuture<java.lang.Void> notifyClients(IInternalAccess component, java.util.Collection<User> recs, IResultCommand<IFuture<java.lang.Void>,IClientService> cmd)
Notify online clients of some events.- Parameters:
component
-- Returns:
-
-