public class CallPeerConferenceEvent
extends java.util.EventObject
CallPeer
to notify
interested CallPeerConferenceListener
s about changes in
its conference-related information such as it acting or not acting as a
conference focus and conference membership details.Modifier and Type | Field and Description |
---|---|
static int |
CONFERENCE_FOCUS_CHANGED
The ID of
CallPeerConferenceEvent which notifies
about a change in the characteristic of a specific
CallPeer being a conference focus. |
static int |
CONFERENCE_MEMBER_ADDED
The ID of
CallPeerConferenceEvent which notifies
about an addition to the list of ConferenceMember s managed
by a specific CallPeer . |
static int |
CONFERENCE_MEMBER_ERROR_RECEIVED
The ID of CallPeerConferenceEvent which notifies
about an error packet received from a CallPeer.
|
static int |
CONFERENCE_MEMBER_REMOVED
The ID of
CallPeerConferenceEvent which notifies
about a removal from the list of ConferenceMember s managed
by a specific CallPeer . |
Constructor and Description |
---|
CallPeerConferenceEvent(CallPeer sourceCallPeer,
int eventID)
Initializes a new
CallPeerConferenceEvent which is to
be fired by a specific CallPeer and which notifies
about a change in its conference-related information not including a
change pertaining to a specific ConferenceMember . |
CallPeerConferenceEvent(CallPeer sourceCallPeer,
int eventID,
ConferenceMember conferenceMember)
Initializes a new
CallPeerConferenceEvent which is to
be fired by a specific CallPeer and which notifies
about a change in its conference-related information pertaining to a
specific ConferenceMember . |
CallPeerConferenceEvent(CallPeer sourceCallPeer,
int eventID,
ConferenceMember conferenceMember,
java.lang.String errorString)
Initializes a new CallPeerConferenceEvent which is to
be fired by a specific CallPeer and which notifies
about a change in its conference-related information pertaining to a
specific ConferenceMember.
|
Modifier and Type | Method and Description |
---|---|
ConferenceMember |
getConferenceMember()
Gets the
ConferenceMember which has been changed (e.g. |
java.lang.String |
getErrorString()
Gets the value of
errorString . |
int |
getEventID()
Gets the ID of this event which may be one of
CONFERENCE_FOCUS_CHANGED , CONFERENCE_MEMBER_ADDED and
CONFERENCE_MEMBER_REMOVED and indicates the specifics of the
change in the conference-related information and the details this event
carries. |
CallPeer |
getSourceCallPeer()
Gets the
CallPeer which is the source of/fired the
event. |
public static final int CONFERENCE_FOCUS_CHANGED
CallPeerConferenceEvent
which notifies
about a change in the characteristic of a specific
CallPeer
being a conference focus. The event does not
carry information about a specific ConferenceMember
i.e. the
conferenceMember
property is of value null.public static final int CONFERENCE_MEMBER_ADDED
CallPeerConferenceEvent
which notifies
about an addition to the list of ConferenceMember
s managed
by a specific CallPeer
. The
conferenceMember
property specifies the
ConferenceMember
which was added and thus caused the event
to be fired.public static final int CONFERENCE_MEMBER_REMOVED
CallPeerConferenceEvent
which notifies
about a removal from the list of ConferenceMember
s managed
by a specific CallPeer
. The
conferenceMember
property specifies the
ConferenceMember
which was removed and thus caused the event
to be fired.public static final int CONFERENCE_MEMBER_ERROR_RECEIVED
public CallPeerConferenceEvent(CallPeer sourceCallPeer, int eventID)
CallPeerConferenceEvent
which is to
be fired by a specific CallPeer
and which notifies
about a change in its conference-related information not including a
change pertaining to a specific ConferenceMember
.sourceCallPeer
- the CallPeer
which is to fire the new
eventeventID
- the ID of this event which may be
CONFERENCE_FOCUS_CHANGED
and indicates the specifics
of the change in the conference-related information and the
details this event carriespublic CallPeerConferenceEvent(CallPeer sourceCallPeer, int eventID, ConferenceMember conferenceMember)
CallPeerConferenceEvent
which is to
be fired by a specific CallPeer
and which notifies
about a change in its conference-related information pertaining to a
specific ConferenceMember
.sourceCallPeer
- the CallPeer
which is to fire the new
eventeventID
- the ID of this event which may be
CONFERENCE_MEMBER_ADDED
and
CONFERENCE_MEMBER_REMOVED
and indicates the specifics
of the change in the conference-related information and the
details this event carriesconferenceMember
- the ConferenceMember
which caused the new event
to be firedpublic CallPeerConferenceEvent(CallPeer sourceCallPeer, int eventID, ConferenceMember conferenceMember, java.lang.String errorString)
sourceCallPeer
- the CallPeer which is to fire the new
eventeventID
- the ID of this event which may be
CONFERENCE_MEMBER_ADDED
and
CONFERENCE_MEMBER_REMOVED
and indicates the specifics
of the change in the conference-related information and the
details this event carriesconferenceMember
- the ConferenceMember which caused the new event
to be firederrorString
- the error string associated with the error packet that
is receivedpublic ConferenceMember getConferenceMember()
ConferenceMember
which has been changed (e.g. added
to or removed from the conference) if this event has been fired because
of such a change.ConferenceMember
which has been changed if this
event has been fired because of such a change; otherwise,
nullpublic int getEventID()
CONFERENCE_FOCUS_CHANGED
, CONFERENCE_MEMBER_ADDED
and
CONFERENCE_MEMBER_REMOVED
and indicates the specifics of the
change in the conference-related information and the details this event
carries.CONFERENCE_FOCUS_CHANGED
,
CONFERENCE_MEMBER_ADDED
and
CONFERENCE_MEMBER_REMOVED
and indicates the specifics of
the change in the conference-related information and the details
this event carriespublic CallPeer getSourceCallPeer()
CallPeer
which is the source of/fired the
event.CallPeer
which is the source of/fired the
eventpublic java.lang.String getErrorString()
errorString
.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.