Click or drag to resize
WaitForDigitCommand Class
Waits up to 'timeout' milliseconds for channel to receive a DTMF digit.
Returns -1 on channel failure, 0 if no digit is received in the timeout, or the numerical value of the ascii of the digit if one is received. Use -1 for the timeout value if you desire the call to block indefinitely.
Inheritance Hierarchy
SystemObject
  AsterNET.FastAGI.CommandAGICommand
    AsterNET.FastAGI.CommandWaitForDigitCommand

Namespace: AsterNET.FastAGI.Command
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class WaitForDigitCommand : AGICommand

The WaitForDigitCommand type exposes the following members.

Constructors
  NameDescription
Public methodWaitForDigitCommand
Creates a new WaitForDigitCommand with a default timeout of -1 which blocks the channel indefinitely.
Public methodWaitForDigitCommand(Int32)
Creates a new WaitForDigitCommand.
Top
Methods
  NameDescription
Public methodBuildCommand (Overrides AGICommandBuildCommand.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodEscapeAndQuote (Inherited from AGICommand.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Inherited from AGICommand.)
Top
Properties
  NameDescription
Public propertyTimeout
Get/Set the milliseconds to wait for the channel to receive a DTMF digit.
Top
See Also