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:
  `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
  Description
  `BroadcastMsg(T db_id, Element msg, Date expired)`

- ## Method Summary

  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 Details

  - ### BroadcastMsg

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

- ## Method Details

  - ### needToSend

    public boolean needToSend(JID jid)

  - ### markAsSent

    public void markAsSent(JID jid)

  - ### addRecipient

    protected boolean addRecipient(BareJID jid)