Package rocks.xmpp.im.chat
Class ChatSession.ChatPartnerEvent
- java.lang.Object
-
- java.util.EventObject
-
- rocks.xmpp.im.chat.ChatSession.ChatPartnerEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ChatSession
public static final class ChatSession.ChatPartnerEvent extends EventObject
AChatPartnerEventis fired, whenever aChatSession's partner was replaced.- Since:
- 0.5.0
- See Also:
ChatSession.addChatPartnerListener(Consumer),ChatSession.removeChatPartnerListener(Consumer), Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JidgetNewChatPartner()Gets the JID of the new chat partner.JidgetOldChatPartner()Gets the JID of the old chat partner.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getNewChatPartner
public final Jid getNewChatPartner()
Gets the JID of the new chat partner. Will never benull.- Returns:
- The JID of the new chat partner.
- See Also:
getOldChatPartner()
-
getOldChatPartner
public final Jid getOldChatPartner()
Gets the JID of the old chat partner. Will never benull.- Returns:
- The JID of the old chat partner.
- See Also:
getNewChatPartner()
-
-