Class OccupantManager.Occupant

  • Enclosing class:

    public static class OccupantManager.Occupant
    extends Object
    Representation of a user that is an occupant of a chatroom.
    • Constructor Detail

      • Occupant

        public Occupant​(String roomName,
                        String nickname,
                        org.xmpp.packet.JID realJID)
    • Method Detail

      • getRoomName

        public String getRoomName()
      • setRoomName

        public void setRoomName​(String roomName)
      • getNickname

        public String getNickname()
      • setNickname

        public void setNickname​(String nickname)
      • getRealJID

        public org.xmpp.packet.JID getRealJID()
      • setRealJID

        public void setRealJID​(org.xmpp.packet.JID realJID)
      • getLastActive

        public Instant getLastActive()
      • setLastActive

        public void setLastActive​(Instant lastActive)
      • getLastPingRequest

        public Instant getLastPingRequest()
      • getPendingPingTask

        public TimerTask getPendingPingTask()
      • setPendingPingTask

        public void setPendingPingTask​(@Nullable
                                       TimerTask pendingPingTask)
      • isFederated

        public boolean isFederated()
      • hashCode

        public int hashCode()
        hashCode in class Object