|
Jitsi: 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.impl.protocol.sip.MethodProcessorAdapter
net.java.sip.communicator.impl.protocol.sip.dtmf.DTMFInfo
public class DTMFInfo
Sending DTMFs with SIP INFO.
| Constructor Summary | |
|---|---|
DTMFInfo(ProtocolProviderServiceSipImpl pps)
Constructor |
|
| 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. |
boolean |
processRequest(javax.sip.RequestEvent requestEvent)
Processes a Request received on a ProtocolProviderServiceSipImpl upon which this processor is
registered. |
boolean |
processResponse(javax.sip.ResponseEvent responseEvent)
Just look if the DTMF signal was well received, and log it |
void |
removeDTMFListener(DTMFListener listener)
Removes the specified listener from the list of DTMF listeners. |
void |
startSendingDTMF(CallPeerSipImpl callPeer,
DTMFTone tone)
Saves the tone we need to send and its start time. |
void |
stopSendingDTMF(CallPeerSipImpl callPeer)
Sending of the currently saved tone. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.sip.MethodProcessorAdapter |
|---|
processDialogTerminated, processIOException, processTimeout, processTransactionTerminated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DTMFInfo(ProtocolProviderServiceSipImpl pps)
pps - the SIP Protocol provider service| Method Detail |
|---|
public void startSendingDTMF(CallPeerSipImpl callPeer,
DTMFTone tone)
throws OperationFailedException,
NullPointerException,
IllegalArgumentException
callPeer - the call peer.tone - the tone to transmit.
OperationFailedException
NullPointerException
IllegalArgumentExceptionpublic void stopSendingDTMF(CallPeerSipImpl callPeer)
callPeer - public boolean processResponse(javax.sip.ResponseEvent responseEvent)
processResponse in interface MethodProcessorprocessResponse in class MethodProcessorAdapterresponseEvent - the response event
public boolean processRequest(javax.sip.RequestEvent requestEvent)
MethodProcessorProtocolProviderServiceSipImpl upon which this processor is
registered.
processRequest in interface MethodProcessorprocessRequest in class MethodProcessorAdapterrequestEvent - requestEvent fired from the
ProtocolProviderServiceSipImpl to the processor
representing a Request received from the network
public void addDTMFListener(DTMFListener listener)
listener - the listener to register with this provider.public void removeDTMFListener(DTMFListener listener)
listener - the listener to unregister.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||