tigase.server.amp.action

## Class Broadcast

- java.lang.Object
- - tigase.server.amp.action.Broadcast

- All Implemented Interfaces:
    AmpFeatureIfc

      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
    Constructor and Description
    `Broadcast()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | `getDefaults(Map<String,Object> params)` Method description
    `String` | `getName()`
    `boolean` | `preprocess(Packet packet)`
    `void` | `sendBroadcastMessage(JID jid)`
    `void` | `sendBroadcastMessage(JID jid, MsgRepository.BroadcastMsg msg)`
    `void` | `setProperties(Map<String,Object> props, ActionResultsHandlerIfc handler)` Method description

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Broadcast

          public Broadcast()

  - ### Method Detail

    - #### preprocess

          public boolean preprocess(Packet packet)

    - #### sendBroadcastMessage

          public void sendBroadcastMessage(JID jid)

    - #### sendBroadcastMessage

          public void sendBroadcastMessage(JID jid,
                                           MsgRepository.BroadcastMsg msg)
                                    throws TigaseStringprepException

      Throws:
        `TigaseStringprepException`

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `AmpFeatureIfc`

    - #### getDefaults

          public Map<String,Object> getDefaults(Map<String,Object> params)

      Method description
      Parameters:
        `params` -

    - #### setProperties

          public void setProperties(Map<String,Object> props,
                                    ActionResultsHandlerIfc handler)

      Method description
      Parameters:
        `props` -
        `handler` -

Copyright © 2022 "Tigase, Inc.". All rights reserved.