You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jitsi/src/net/java/sip/communicator/service/protocol/OperationSetDTMF.java

38 lines
1.2 KiB

/*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.protocol;
/**
* An operation set that allows other modules to send DMF tones through this
* protocol provider.
*
* @author JM HEITZ
*
*/
public interface OperationSetDTMF
extends OperationSet
{
/**
* Sends the <tt>DTMFTone</tt> <tt>tone</tt> to <tt>callParticipant</tt>.
*
* @param callParticipant the call participant to send <tt>tone</tt> to.
* @param tone the DTMF tone to send to <tt>callParticipant</tt>.
*
* @throws OperationFailedException with code OPERATION_NOT_SUPPORTED if
* DTMF tones are not supported for <tt>callParticipant</tt>.
*
* @throws NullPointerException if one of the arguments is null.
*
* @throws IllegalArgumentException in case the call participant does not
* belong to the underlying implementation.
*/
public boolean sendDTMF(CallParticipant callParticipant, DTMFTone tone)
throws OperationFailedException,
NullPointerException,
ClassCastException;
}