Class JabberRoom

java.lang.Object
VASSAL.chat.SimpleRoom
VASSAL.chat.jabber.JabberRoom
All Implemented Interfaces:
LockableRoom, Room

public class JabberRoom
extends SimpleRoom
implements LockableRoom
  • Field Details

  • Method Details

    • getJID

      public String getJID()
    • isLocked

      public boolean isLocked()
      Specified by:
      isLocked in interface LockableRoom
    • setInfo

      public void setInfo​(org.jivesoftware.smackx.muc.RoomInfo info)
    • toggleLock

      public void toggleLock​(org.jivesoftware.smackx.muc.MultiUserChat muc)
    • lock

      protected void lock​(org.jivesoftware.smackx.muc.MultiUserChat muc) throws org.jivesoftware.smack.XMPPException
      Throws:
      org.jivesoftware.smack.XMPPException
    • unlock

      protected void unlock​(org.jivesoftware.smackx.muc.MultiUserChat muc) throws org.jivesoftware.smack.XMPPException
      Throws:
      org.jivesoftware.smack.XMPPException
    • join

      public org.jivesoftware.smackx.muc.MultiUserChat join​(JabberClient client, JabberPlayer me) throws org.jivesoftware.smack.XMPPException
      Throws:
      org.jivesoftware.smack.XMPPException
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class SimpleRoom
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SimpleRoom
    • isOwnedByMe

      public boolean isOwnedByMe()
    • isOwner

      public boolean isOwner​(String jid)
      Specified by:
      isOwner in interface LockableRoom
    • addOwner

      public void addOwner​(String jid)
    • removeOwner

      public void removeOwner​(String jid)
    • getOwningPlayer

      public Player getOwningPlayer()
      Specified by:
      getOwningPlayer in interface LockableRoom
    • setConfig

      public void setConfig​(Properties props)
    • encodeConfig

      public String encodeConfig()
    • decodeConfig

      public void decodeConfig​(String s)
    • isStartLocked

      public boolean isStartLocked()
    • isMatchCrc

      public boolean isMatchCrc()
    • getCheckCrc

      public String getCheckCrc()
    • getVassalOption

      public String getVassalOption()
    • getVassalVersion

      public String getVassalVersion()
    • getModuleOption

      public String getModuleOption()
    • getModuleVersion

      public String getModuleVersion()
    • showConfig

      public void showConfig()
    • canJoin

      public String canJoin​(JabberPlayer p)
      Is the specified player allowed to join this room?
      Parameters:
      p - A JabberPlayer
      Returns:
      null = false, non-null = error message
    • configureNewRoom

      public static Properties configureNewRoom()