Click or drag to resize
GetDataCommand Class
Stream the given file, and recieve DTMF data. The user may interrupt the streaming by starting to enter digits.
Returns the digits recieved from the channel at the other end.
Input ends when the timeout is reached, the maximum number of digits is read or the user presses #.
Inheritance Hierarchy

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

The GetDataCommand type exposes the following members.

Constructors
  NameDescription
Public methodGetDataCommand(String)
Creates a new GetDataCommand with default timeout and maxDigits set to 1024.
Public methodGetDataCommand(String, Int64)
Creates a new GetDataCommand with the given timeout and maxDigits set to 1024.
Public methodGetDataCommand(String, Int64, Int32)
Creates a new GetDataCommand with the given timeout and maxDigits.
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 propertyFile
Get/Set the name of the file to stream. Must not include extension.
Public propertyMaxDigits
Get/Set the maximum number of digits to read. The maximum number of digits to read. Must be in [1..1024].
Public propertyTimeout
Get/Set the timeout in milliseconds to wait for data. 0 means standard timeout value, -1 means "ludicrous time" (essentially never times out).
Top
See Also