AsterNet Class Library (Sandcastle documentation)

| AsterNET.FastAGI Namespace

AsterNet FastAGI
Classes

| Class | Description
--- | --- | ---
| AGIChannel | Default implementation of the AGIChannel interface.
| AGIConnectionHandler | An AGIConnectionHandler is created and run by the AGIServer whenever a new socket connection from an Asterisk Server is received. It reads the request using an AGIReader and runs the AGIScript configured to handle this type of request. Finally it closes the socket connection.
| AGIException | Abstract base class for all AGI specific exceptions.
| AGIHangupException | The AGIHangupException is thrown if the channel has been hang up while processing the AGIRequest.
| AGINetworkException | The AGINetworkException usally wraps an IOException denoting a network problem when talking to the Asterisk server.
| AGIReader |
| AGIReply | Default implementation of the AGIReply interface.
| AGIRequest | Default implementation of the AGIRequest interface.
| AGIScript | The BaseAGIScript provides some convinience methods to make it easier to write custom AGIScripts. Just extend it by your own AGIScripts.
| AGIWriter | Default implementation of the AGIWriter interface.
| AsteriskFastAGI |
| InvalidCommandSyntaxException | An InvalidCommandSyntaxException is thrown when the reader receives a reply with status code 520.
| InvalidOrUnknownCommandException | An InvalidOrUnknownCommandException is thrown when the reader receives a reply with status code 510.

MappingStrategy

Obsolete.
A MappingStrategy that is configured via a resource bundle.
The resource bundle contains the script part of the url as key and the fully qualified class name of the corresponding AGIScript as value.
Example:

                        noopcommand = AsterNET.FastAGI.Command.NoopCommand

NoopCommand must implement the AGIScript interface and have a default constructor with no parameters.

Interfaces

| Interface | Description
--- | --- | ---
| IMappingStrategy |

Enumerations

| Enumeration | Description
--- | --- | ---
| AGIReplyStatuses |