|
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.Objectnet.java.sip.communicator.service.protocol.media.AbstractOperationSetTelephonyConferencing<ProtocolProviderServiceT,OperationSetBasicTelephonyT,MediaAwareCallT,MediaAwareCallPeerT,CalleeAddressT>
ProtocolProviderServiceT - OperationSetBasicTelephonyT - MediaAwareCallT - MediaAwareCallPeerT - CalleeAddressT - public abstract class AbstractOperationSetTelephonyConferencing<ProtocolProviderServiceT extends ProtocolProviderService,OperationSetBasicTelephonyT extends OperationSetBasicTelephony<ProtocolProviderServiceT>,MediaAwareCallT extends MediaAwareCall<MediaAwareCallPeerT,OperationSetBasicTelephonyT,ProtocolProviderServiceT>,MediaAwareCallPeerT extends MediaAwareCallPeer<MediaAwareCallT,?,ProtocolProviderServiceT>,CalleeAddressT>
Represents a default implementation of OperationSetTelephonyConferencing in order to make it easier for implementers to provide complete solutions while focusing on implementation-specific details.
| Field Summary | |
|---|---|
protected ProtocolProviderServiceT |
parentProvider
The ProtocolProviderService implementation which created this instance and for which telephony conferencing services are being provided by this instance. |
| Constructor Summary | |
|---|---|
protected |
AbstractOperationSetTelephonyConferencing(ProtocolProviderServiceT parentProvider)
Initializes a new AbstractOperationSetTelephonyConferencing instance which is to provide telephony conferencing services for the specified ProtocolProviderService implementation. |
| Method Summary | |
|---|---|
protected void |
basicTelephonyChanged(OperationSetBasicTelephonyT oldValue,
OperationSetBasicTelephonyT newValue)
Notifies this OperationSetTelephonyConferencing that its basicTelephony property has changed its value from a specific oldValue to a specific newValue |
protected void |
callBegun(CallEvent event)
Notifies this CallListener that a specific Call has been established. |
void |
callEnded(CallEvent event)
Notifies this CallListener that a specific Call has ended. |
void |
callPeerAdded(CallPeerEvent event)
Notifies this CallChangeListener that a specific CallPeer has been added to a specific Call. |
void |
callPeerRemoved(CallPeerEvent event)
Notifies this CallChangeListener that a specific CallPeer has been remove from a specific Call. |
void |
callStateChanged(CallChangeEvent event)
Notifies this CallChangeListener that a specific Call has changed its state. |
Call |
createConfCall(String[] callees)
Creates a conference call with the specified callees as call peers. |
Call |
createConfCall(String[] callees,
CallGroup group)
Creates a conference call with the specified callees as call peers. |
protected abstract MediaAwareCallT |
createOutgoingCall()
Creates a new outgoing Call into which conference callees are to be invited by this OperationSetTelephonyConferencing. |
OperationSetBasicTelephonyT |
getBasicTelephony()
Gets the OperationSetBasicTelephony implementation which this instance uses to carry out tasks such as establishing Calls. |
void |
incomingCallReceived(CallEvent event)
Notifies this CallListener that a specific incoming Call has been received. |
protected abstract CallPeer |
inviteCalleeToCall(CalleeAddressT calleeAddress,
MediaAwareCallT call,
boolean wasConferenceFocus)
Invites a callee with a specific address to be joined in a specific Call in the sense of conferencing. |
CallPeer |
inviteCalleeToCall(String uri,
Call call)
Invites the callee represented by the specified uri to an already existing call. |
protected abstract void |
notifyAll(Call call)
Notifies all CallPeer associated with and established in a specific call for conference information. |
void |
outgoingCallCreated(CallEvent event)
Notifies this CallListener that a specific outgoing Call has been created. |
protected abstract CalleeAddressT |
parseAddressString(String calleeAddressString)
Parses a String value which represents a callee address specified by the user into an object which is to actually represent the callee during the invitation to a conference Call. |
void |
propertyChange(PropertyChangeEvent event)
Notifies this PropertyChangeListener that the value of a specific property of the notifier it is registered with has changed. |
void |
registrationStateChanged(RegistrationStateChangeEvent event)
Notifies this RegistrationStateChangeListener that the ProtocolProviderSerivce it is registered with has changed its registration state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final ProtocolProviderServiceT extends ProtocolProviderService parentProvider
| Constructor Detail |
|---|
protected AbstractOperationSetTelephonyConferencing(ProtocolProviderServiceT parentProvider)
parentProvider - the ProtocolProviderService implementation
which has requested the creation of the new instance and for which the
new instance is to provide telephony conferencing services| Method Detail |
|---|
protected void basicTelephonyChanged(OperationSetBasicTelephonyT oldValue,
OperationSetBasicTelephonyT newValue)
oldValue - the old value of the basicTelephony propertynewValue - the new value of the basicTelephony property
public Call createConfCall(String[] callees)
throws OperationFailedException
createConfCall in interface OperationSetTelephonyConferencingcallees - the list of addresses that we should call
OperationFailedException - if establishing the conference call
failsOperationSetTelephonyConferencing.createConfCall(String[])
public Call createConfCall(String[] callees,
CallGroup group)
throws OperationFailedException
createConfCall in interface OperationSetTelephonyConferencingcallees - the list of addresses that we should callgroup - the CallGroup or null
OperationFailedException - if establishing the conference call
failsOperationSetTelephonyConferencing.createConfCall(String[])
protected abstract MediaAwareCallT createOutgoingCall()
throws OperationFailedException
OperationFailedException - if anything goes wrongpublic OperationSetBasicTelephonyT getBasicTelephony()
public CallPeer inviteCalleeToCall(String uri,
Call call)
throws OperationFailedException
inviteCalleeToCall in interface OperationSetTelephonyConferencinguri - the callee to invite to an existing conf call.call - the call that we should invite the callee to.
OperationFailedException - if inviting the specified callee to the
specified call fails
protected abstract CallPeer inviteCalleeToCall(CalleeAddressT calleeAddress,
MediaAwareCallT call,
boolean wasConferenceFocus)
throws OperationFailedException
calleeAddress - the address of the callee to be invited to the
specified existing Callcall - the existing Call to invite the callee with the
specified address towasConferenceFocus - the value of the conferenceFocus
property of the specified call prior to the request to invite
the specified calleeAddress
OperationFailedException - if inviting the specified callee to the
specified call fails
protected abstract CalleeAddressT parseAddressString(String calleeAddressString)
throws OperationFailedException
calleeAddressString - a String value which represents a
callee address to be parsed into an object which is to actually represent
the callee during the invitation to a conference Call
OperationFailedException - if parsing the specified
calleeAddressString failspublic void registrationStateChanged(RegistrationStateChangeEvent event)
registrationStateChanged in interface RegistrationStateChangeListenerevent - a RegistrationStateChangeEvent which specifies the
old and the new value of the registration state of the
ProtocolProviderService this
RegistrationStateChangeListener listens topublic void callPeerAdded(CallPeerEvent event)
callPeerAdded in interface CallChangeListenerevent - a CallPeerEvent which specifies the
CallPeer which has been added to a Callpublic void callPeerRemoved(CallPeerEvent event)
callPeerRemoved in interface CallChangeListenerevent - a CallPeerEvent which specifies the
CallPeer which has been removed from a Callpublic void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerevent - a PropertyChangeEvent which describes the source of
the event, the name of the property which has changed its value and the
old and new values of the propertyPropertyChangeListener.propertyChange(PropertyChangeEvent)public void incomingCallReceived(CallEvent event)
incomingCallReceived in interface CallListenerevent - a CallEvent which specifies the newly-received
incoming Callpublic void outgoingCallCreated(CallEvent event)
outgoingCallCreated in interface CallListenerevent - a CallEvent which specifies the newly-created
outgoing Callpublic void callEnded(CallEvent event)
callEnded in interface CallListenerevent - a CallEvent which specified the Call which
has just endedprotected void callBegun(CallEvent event)
event - a CallEvent which specified the newly-established
Callpublic void callStateChanged(CallChangeEvent event)
callStateChanged in interface CallChangeListenerevent - a CallChangeEvent which specifies the Call
which has changed its state, the very state which has been changed and
the values of the state before and after the changeprotected abstract void notifyAll(Call call)
call - the Call
|
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 | |||||||||