Class OfflineMessageRequest.Item

java.lang.Object
org.jivesoftware.smackx.offline.packet.OfflineMessageRequest.Item
Enclosing class:
OfflineMessageRequest

public static class OfflineMessageRequest.Item extends Object
Item child that holds information about offline messages to view or delete.
  • Constructor Details

    • Item

      public Item(String node)
      Creates a new item child.
      Parameters:
      node - the actor's affiliation to the room
  • Method Details

    • getNode

      public String getNode()
    • getAction

      public String getAction()
      Returns "view" or "remove" that indicate if the server should return the specified offline message or delete it.
      Returns:
      "view" or "remove" that indicate if the server should return the specified offline message or delete it.
    • setAction

      public void setAction(String action)
      Sets if the server should return the specified offline message or delete it. Possible values are "view" or "remove".
      Parameters:
      action - if the server should return the specified offline message or delete it.
    • getJid

      public String getJid()
    • setJid

      public void setJid(String jid)
    • toXML

      public String toXML()