|
SIP Communicator: 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.AbstractOperationSetBasicTelephony<T>
T - the implementation specific provider class like for example
ProtocolProviderServiceSipImpl.public abstract class AbstractOperationSetBasicTelephony<T extends ProtocolProviderService>
Represents a default implementation of OperationSetBasicTelephony in order to make it easier for implementers to provide complete solutions while focusing on implementation-specific details.
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.protocol.OperationSetBasicTelephony |
|---|
MAX_MEDIA_PORT_NUMBER_PROPERTY_NAME, MIN_MEDIA_PORT_NUMBER_PROPERTY_NAME |
| Constructor Summary | |
|---|---|
AbstractOperationSetBasicTelephony()
|
|
| Method Summary | |
|---|---|
void |
addCallListener(CallListener listener)
Registers listener with this provider so that it could be notified when incoming calls are received. |
void |
fireCallEvent(int eventID,
Call sourceCall)
Creates and dispatches a CallEvent notifying registered listeners that an event with id eventID has occurred on sourceCall. |
void |
removeCallListener(CallListener listener)
Removes the listener from the list of call listeners. |
void |
setMute(Call call,
boolean mute)
Sets the mute state of the Call. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.protocol.OperationSetBasicTelephony |
|---|
answerCallPeer, createCall, createCall, getActiveCalls, getProtocolProvider, hangupCallPeer, putOffHold, putOnHold |
| Constructor Detail |
|---|
public AbstractOperationSetBasicTelephony()
| Method Detail |
|---|
public void addCallListener(CallListener listener)
addCallListener in interface OperationSetBasicTelephony<T extends ProtocolProviderService>listener - the listener to register with this provider.
public void fireCallEvent(int eventID,
Call sourceCall)
eventID - the ID of the event to dispatchsourceCall - the call on which the event has occurred.public void removeCallListener(CallListener listener)
removeCallListener in interface OperationSetBasicTelephony<T extends ProtocolProviderService>listener - the listener to unregister.
public void setMute(Call call,
boolean mute)
Muting audio streams sent from the call is implementation specific and one of the possible approaches to it is sending silence.
setMute in interface OperationSetBasicTelephony<T extends ProtocolProviderService>call - the Call whose mute state is to be setmute - true to mute the call streams being sent to
peers; otherwise, false
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||