|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.java.sip.communicator.service.protocol.event.LocalUserChatRoomPresenceChangeEvent
public class LocalUserChatRoomPresenceChangeEvent
Dispatched to notify interested parties that a change in our presence in the source chat room has occured. Changes may include us being kicked, join, left, etc.
| Field Summary | |
|---|---|
static String |
LOCAL_USER_DROPPED
Indicates that this event was triggered as a result of the local participant beeing disconnected from the server brutally, or ping timeout. |
static String |
LOCAL_USER_JOIN_FAILED
Indicates that this event was triggered as a result of the local participant failed to join a chat room. |
static String |
LOCAL_USER_JOINED
Indicates that this event was triggered as a result of the local participant joining a chat room. |
static String |
LOCAL_USER_KICKED
Indicates that this event was triggered as a result of the local participant being kicked from a chat room. |
static String |
LOCAL_USER_LEFT
Indicates that this event was triggered as a result of the local participant leaving a chat room. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
LocalUserChatRoomPresenceChangeEvent(OperationSetMultiUserChat source,
ChatRoom chatRoom,
String eventType,
String reason)
Creates a ChatRoomLocalUserPresenceChangeEvent representing that a change in local participant presence in the source chat room has occured. |
|
| Method Summary | |
|---|---|
ChatRoom |
getChatRoom()
Returns the ChatRoom, that this event is about. |
String |
getEventType()
Returns the type of this event which could be one of the LOCAL_USER_XXX member fields. |
OperationSetMultiUserChat |
getMultiUserChatOpSet()
Returns the OperationSetMultiUserChat, where this event has occurred. |
String |
getReason()
A reason string indicating a human readable reason for this event. |
String |
toString()
Returns a String representation of this event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String LOCAL_USER_JOINED
public static final String LOCAL_USER_JOIN_FAILED
public static final String LOCAL_USER_LEFT
public static final String LOCAL_USER_KICKED
public static final String LOCAL_USER_DROPPED
| Constructor Detail |
|---|
public LocalUserChatRoomPresenceChangeEvent(OperationSetMultiUserChat source,
ChatRoom chatRoom,
String eventType,
String reason)
source - the OperationSetMultiUserChat, which produced this
eventchatRoom - the ChatRoom that this event is abouteventType - the type of this event.reason - the reason explaining why this event might have occurred| Method Detail |
|---|
public OperationSetMultiUserChat getMultiUserChatOpSet()
public ChatRoom getChatRoom()
public String getReason()
public String getEventType()
public String toString()
toString in class EventObject
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||