Interface Logic

All Known Implementing Classes:
DefaultLogic

public interface Logic
Created by andrzej on 07.08.2016.
  • Method Details

    • getMaxFileSize

      long getMaxFileSize()
    • requestSlot

      String requestSlot(tigase.xmpp.jid.JID requester, String filename, long filesize, String contentType) throws tigase.component.exceptions.ComponentException
      Throws:
      tigase.component.exceptions.ComponentException
    • getUploadURI

      String getUploadURI(tigase.xmpp.jid.JID requester, String slotId, String filename)
    • getDownloadURI

      String getDownloadURI(tigase.xmpp.jid.JID requester, String slotId, String filename)
    • generateSlotId

      String generateSlotId()
    • getUploadURIFormat

      UriFormat getUploadURIFormat()
    • getDownloadURIFormat

      UriFormat getDownloadURIFormat()
    • removeExpired

      void removeExpired(Duration expirationTime, int limit)