Package tigase.server.amp.db

## Class MsgBroadcastRepository.BroadcastMsg<T>

- java.lang.Object
- - tigase.server.amp.db.MsgRepository.MsgDBItem<T>
  - - tigase.server.amp.db.MsgBroadcastRepository.BroadcastMsg<T>

- All Implemented Interfaces:
    `java.lang.Comparable<java.util.concurrent.Delayed>`, `java.util.concurrent.Delayed`
  Enclosing class:
    MsgBroadcastRepository<T,​S extends DataSource>

      public class MsgBroadcastRepository.BroadcastMsg<T>
      extends MsgRepository.MsgDBItem<T>

- - ### Field Summary

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

      `db_id, expired, msg`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BroadcastMsg​(T db_id, Element msg, java.util.Date expired)` |

  - ### Method Summary

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

    - ### Methods inherited from class tigase.server.amp.db.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,
                              java.util.Date expired)

  - ### Method Detail

    - #### needToSend

          public boolean needToSend​(JID jid)

    - #### markAsSent

          public void markAsSent​(JID jid)

    - #### addRecipient

          protected boolean addRecipient​(BareJID jid)