Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.neomedia.event
Class DTMFToneEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.service.neomedia.event.DTMFToneEvent
All Implemented Interfaces:
Serializable

public class DTMFToneEvent
extends EventObject

This event represents starting or ending reception of a specific DTMFRtpTone.

Author:
Emil Ivov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DTMFToneEvent(AudioMediaStream source, DTMFRtpTone dtmfTone)
          Creates an instance of this DTMFToneEvent with the specified source stream and DTMF tone.
 
Method Summary
 DTMFRtpTone getDtmfTone()
          Returns the DTMFTone instance that this event pertains to.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DTMFToneEvent

public DTMFToneEvent(AudioMediaStream source,
                     DTMFRtpTone dtmfTone)
Creates an instance of this DTMFToneEvent with the specified source stream and DTMF tone.

Parameters:
source - the AudioMediaSteam instance that received the tone.
dtmfTone - the tone that we (started/stopped) receiving.
Method Detail

getDtmfTone

public DTMFRtpTone getDtmfTone()
Returns the DTMFTone instance that this event pertains to.

Returns:
the DTMFTone instance that this event pertains to.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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