Class OccupantManager.Occupant

  • Enclosing class:
    OccupantManager

    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

        @Nullable
        public Instant getLastPingRequest()
      • getPendingPingTask

        @Nullable
        public TimerTask getPendingPingTask()
      • setPendingPingTask

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

        public int hashCode()
        Overrides:
        hashCode in class Object