## Uses of Interface
tigase.db.OfflineMsgRepositoryIfc

- Packages that use OfflineMsgRepositoryIfc
  Package | Description
  --- | ---
  tigase.db |
  tigase.db.xml |
  tigase.server.amp.db |
  tigase.xmpp.impl | Package containing implementation of all Session Manager plugins

- - ### Uses of OfflineMsgRepositoryIfc in tigase.db

    Subinterfaces of OfflineMsgRepositoryIfc in tigase.db
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `MsgRepositoryIfc<T extends DataSource>` | Created by andrzej on 13.03.2016.

  - ### Uses of OfflineMsgRepositoryIfc in tigase.db.xml

    Classes in tigase.db.xml that implement OfflineMsgRepositoryIfc
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `XMLMsgRepository` | Created by andrzej on 04.04.2017.

  - ### Uses of OfflineMsgRepositoryIfc in tigase.server.amp.db

    Classes in tigase.server.amp.db that implement OfflineMsgRepositoryIfc
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `JDBCMsgRepository` | Created: May 3, 2010 5:28:02 PM
    `class` | `MsgRepository<T,​S extends DataSource>` |
    `static class` | `MsgRepository.MsgRepositoryMDBean` | Bean used to provide MsgRepository implementations

  - ### Uses of OfflineMsgRepositoryIfc in tigase.xmpp.impl

    Subinterfaces of OfflineMsgRepositoryIfc in tigase.xmpp.impl
    Modifier and Type | Interface | Description
    --- | --- | ---
    `static interface` | `OfflineMessages.OfflineMsgRepositoryIfc` |

    Methods in tigase.xmpp.impl with parameters of type OfflineMsgRepositoryIfc
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Queue<Packet>` | OfflineMessages.`restorePacketForOffLineUser​(XMPPResourceConnection conn, OfflineMsgRepositoryIfc repo)` | Method restores all messages from repository for the JID of the current session.
    `Authorization` | OfflineMessages.`savePacketForOffLineUser​(Packet packet, OfflineMsgRepositoryIfc repo, NonAuthUserRepository userRepo)` | Method stores messages to offline repository with the following rules applied, i.e. saves only: message stanza with either nonempty `<body>`, `<event>` or `<header>` child element and only messages of type normal, chat. presence stanza of type subscribe, subscribed, unsubscribe and unsubscribed. Processed messages are stamped with the `delay` element and appropriate timestamp.