Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.sip
Class OperationSetIncomingDTMFSipImpl

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.sip.OperationSetIncomingDTMFSipImpl
All Implemented Interfaces:
OperationSet, OperationSetIncomingDTMF

public class OperationSetIncomingDTMFSipImpl
extends Object
implements OperationSetIncomingDTMF

An OperationSet that allows us to receive DMF tones through this protocol provider.

Author:
Damian Minkov

Constructor Summary
OperationSetIncomingDTMFSipImpl(ProtocolProviderServiceSipImpl provider, OperationSetDTMFSipImpl opsetDTMFSip)
          Creates operation set.
 
Method Summary
 void addDTMFListener(DTMFListener listener)
          Registers the specified DTMFListener with this provider so that it could be notified when incoming DTMF tone is received.
 void removeDTMFListener(DTMFListener listener)
          Removes the specified listener from the list of DTMF listeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationSetIncomingDTMFSipImpl

OperationSetIncomingDTMFSipImpl(ProtocolProviderServiceSipImpl provider,
                                OperationSetDTMFSipImpl opsetDTMFSip)
Creates operation set.

Parameters:
provider - the parent provider
opsetDTMFSip - the dtmf implementation.
Method Detail

addDTMFListener

public void addDTMFListener(DTMFListener listener)
Registers the specified DTMFListener with this provider so that it could be notified when incoming DTMF tone is received.

Specified by:
addDTMFListener in interface OperationSetIncomingDTMF
Parameters:
listener - the listener to register with this provider.

removeDTMFListener

public void removeDTMFListener(DTMFListener listener)
Removes the specified listener from the list of DTMF listeners.

Specified by:
removeDTMFListener in interface OperationSetIncomingDTMF
Parameters:
listener - the listener to unregister.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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