|
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.LocalUserAdHocChatRoomPresenceChangeEvent
public class LocalUserAdHocChatRoomPresenceChangeEvent
Dispatched to notify interested parties that a change in our presence in the source ad-hoc chat room has occurred. Changes may include us being join, left, etc.
| Field Summary | |
|---|---|
static String |
LOCAL_USER_DROPPED
Indicates that this event was triggered as a result of the local participant being 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 an ad-hoc chat room. |
static String |
LOCAL_USER_JOINED
Indicates that this event was triggered as a result of the local participant joining an ad-hoc chat room. |
static String |
LOCAL_USER_LEFT
Indicates that this event was triggered as a result of the local participant leaving an ad-hoc chat room. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
LocalUserAdHocChatRoomPresenceChangeEvent(OperationSetAdHocMultiUserChat source,
AdHocChatRoom adHocChatRoom,
String eventType,
String reason)
Creates an AdHocChatRoomLocalUserPresenceChangeEvent representing that a change in local participant presence in the source ad-hoc chat room has occurred. |
|
| Method Summary | |
|---|---|
AdHocChatRoom |
getAdHocChatRoom()
Returns the AdHocChatRoom, that this event is about. |
OperationSetAdHocMultiUserChat |
getAdHocMultiUserChatOpSet()
Returns the OperationSetAdHocMultiUserChat, where this event has occurred. |
String |
getEventType()
Returns the type of this event which could be one of the LOCAL_USER_XXX member fields. |
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_DROPPED
| Constructor Detail |
|---|
public LocalUserAdHocChatRoomPresenceChangeEvent(OperationSetAdHocMultiUserChat source,
AdHocChatRoom adHocChatRoom,
String eventType,
String reason)
source - the OperationSetAdHocMultiUserChat, which
produced this eventadHocChatRoom - the AdHocChatRoom that this event is abouteventType - the type of this event.reason - the reason explaining why this event might have occurred| Method Detail |
|---|
public OperationSetAdHocMultiUserChat getAdHocMultiUserChatOpSet()
public AdHocChatRoom getAdHocChatRoom()
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 | |||||||||