Package rocks.xmpp.im.chat
Class ChatSessionEvent
- java.lang.Object
-
- java.util.EventObject
-
- rocks.xmpp.im.chat.ChatSessionEvent
-
- All Implemented Interfaces:
Serializable
public final class ChatSessionEvent extends EventObject
A chat session event is fired, whenever a new chat session is created.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChatSessiongetChatSession()Gets the chat session.booleanisInbound()Indicates, whether the chat session has been created by an inbound message or programmatically.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getChatSession
public final ChatSession getChatSession()
Gets the chat session.- Returns:
- The chat session.
-
isInbound
public final boolean isInbound()
Indicates, whether the chat session has been created by an inbound message or programmatically.- Returns:
- True, if the chat session has been created by an inbound message; false if it was created programmatically.
-
-