Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol
Interface OperationSetDTMF

All Superinterfaces:
OperationSet
All Known Implementing Classes:
OperationSetDTMFJabberImpl, OperationSetDTMFSipImpl

public interface OperationSetDTMF
extends OperationSet

An OperationSet that allows other modules to send DMF tones through this protocol provider.

Author:
JM HEITZ

Method Summary
 void startSendingDTMF(CallPeer callPeer, DTMFTone tone)
          Sends the DTMFTone tone to callPeer.
 void stopSendingDTMF(CallPeer callPeer)
          Stop sending of the currently transmitting DTMF tone.
 

Method Detail

startSendingDTMF

void startSendingDTMF(CallPeer callPeer,
                      DTMFTone tone)
                      throws OperationFailedException
Sends the DTMFTone tone to callPeer.

Parameters:
callPeer - the call peer to send tone to.
tone - the DTMF tone to send to callPeer.
Throws:
OperationFailedException - with code OPERATION_NOT_SUPPORTED if DTMF tones are not supported for callPeer.
IllegalArgumentException - in case the call peer does not belong to the underlying implementation.

stopSendingDTMF

void stopSendingDTMF(CallPeer callPeer)
Stop sending of the currently transmitting DTMF tone.

Parameters:
callPeer - the call peer to stop send tone to.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.