org.glassfish.cafe.api
Interface DtmfSignal

All Superinterfaces:
Message

public interface DtmfSignal
extends Message

Represents the a DTMF Signal.

Author:
binod
See Also:
Communication, CommunicationEvent

Method Summary
 long getDuration()
          Returns the duration of the DTMF signal in milliseconds.
 String getSignal()
          Return the DTMF signal as a string.
 boolean isInband()
          Return whether the DTMF signal is inband or not.
 void setDuration(long duration)
          Set the duration of the DTMF signal in milliseconds.
 void setSignal(String signal)
          Set the DTMF signal.
 
Methods inherited from interface org.glassfish.cafe.api.Message
consume, getContent, getContentType, reject, send, send, send
 

Method Detail

getSignal

String getSignal()
Return the DTMF signal as a string.

Returns:
A string representing DTMF signal.

setSignal

void setSignal(String signal)
Set the DTMF signal.

Parameters:
signal - A String representing DTMF signal.

getDuration

long getDuration()
Returns the duration of the DTMF signal in milliseconds.

Returns:
Duration of the signal in milliseconds.

setDuration

void setDuration(long duration)
Set the duration of the DTMF signal in milliseconds.

Parameters:
duration - Duration of the signal in milliseconds.

isInband

boolean isInband()
Return whether the DTMF signal is inband or not.

Returns:
boolean indicating whether the DTMF signal is inband or not.


Copyright © 2010. All Rights Reserved.