Package tigase.server.amp.action
Class Broadcast
java.lang.Object
tigase.server.amp.action.Broadcast
- All Implemented Interfaces:
AmpFeatureIfc
@Bean(name="broadcast",
parent=AmpComponent.class,
active=true)
public class Broadcast
extends Object
implements AmpFeatureIfc
- Author:
- andrzej
-
Field Summary
Fields inherited from interface tigase.server.amp.AmpFeatureIfc
ACTION_ATT, AMP_MSG_REPO_CLASS_PARAM, AMP_MSG_REPO_CLASS_PROP_KEY, AMP_MSG_REPO_URI_PARAM, AMP_MSG_REPO_URI_PROP_KEY, AMP_XMLNS, CONDITION_ATT, EXPIRED, FROM_CONN_ID, MSG_OFFLINE_PROP_KEY, OFFLINE, SESSION_JID, TO_CONN_ID, TO_RES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDefaults
(Map<String, Object> params) getName()
boolean
preprocess
(Packet packet) void
sendBroadcastMessage
(JID jid) void
void
void
-
Constructor Details
-
Broadcast
public Broadcast()
-
-
Method Details
-
preprocess
-
sendBroadcastMessage
-
sendBroadcastMessage
public void sendBroadcastMessage(JID jid, MsgBroadcastRepository.BroadcastMsg msg) throws TigaseStringprepException - Throws:
TigaseStringprepException
-
getName
- Specified by:
getName
in interfaceAmpFeatureIfc
-
getDefaults
-
setRepo
-
setActionResultsHandler
-