tigase.server.amp

## Class MsgRepository.BroadcastMsg

- java.lang.Object
- - tigase.server.amp.MsgRepository.MsgDBItem
  - - tigase.server.amp.MsgRepository.BroadcastMsg

- All Implemented Interfaces:
    Comparable<Delayed>, Delayed
  Enclosing class:
    MsgRepository<T>

      public class MsgRepository.BroadcastMsg
      extends MsgRepository.MsgDBItem

- - ### Field Summary

    - ### Fields inherited from class tigase.server.amp.MsgRepository.MsgDBItem

      `db_id, expired, msg`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BroadcastMsg(T db_id, Element msg, Date expired)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | `addRecipient(BareJID jid)`
    `void` | `markAsSent(JID jid)`
    `boolean` | `needToSend(JID jid)`

    - ### Methods inherited from class tigase.server.amp.MsgRepository.MsgDBItem

      `compareTo, getDelay`

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

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

- - ### Constructor Detail

    - #### BroadcastMsg

          public BroadcastMsg(T db_id,
                              Element msg,
                              Date expired)

  - ### Method Detail

    - #### addRecipient

          protected boolean addRecipient(BareJID jid)

    - #### needToSend

          public boolean needToSend(JID jid)

    - #### markAsSent

          public void markAsSent(JID jid)

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