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:
    Comparable<Delayed>, 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 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.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,
                              Date expired)

  - ### Method Detail

    - #### needToSend

          public boolean needToSend(JID jid)

    - #### markAsSent

          public void markAsSent(JID jid)

    - #### addRecipient

          protected boolean addRecipient(BareJID jid)

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.