asternet/docs/html/N_AsterNET_FastAGI.htm
2016-10-05 08:38:17 +02:00

42 lines
14 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>AsterNET.FastAGI Namespace</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="AsterNET.FastAGI namespace" /><meta name="Microsoft.Help.F1" content="AsterNET.FastAGI" /><meta name="Microsoft.Help.Id" content="N:AsterNET.FastAGI" /><meta name="Description" content="AsterNet FastAGI" /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="AsterNET.FastAGI" /><meta name="file" content="N_AsterNET_FastAGI" /><meta name="guid" content="N_AsterNET_FastAGI" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">AsterNet Class Library (Sandcastle documentation)<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="79b6241e-05a3-441c-b6a1-51f2b5b7f265.htm" title="AsterNet Class Library (Sandcastle documentation)" tocid="roottoc">AsterNet Class Library (Sandcastle documentation)</a></div><div class="toclevel1 current" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="N_AsterNET_FastAGI.htm" title="AsterNET.FastAGI" tocid="N_AsterNET_FastAGI">AsterNET.FastAGI</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGIChannel.htm" title="AGIChannel Class" tocid="T_AsterNET_FastAGI_AGIChannel">AGIChannel Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGIConnectionHandler.htm" title="AGIConnectionHandler Class" tocid="T_AsterNET_FastAGI_AGIConnectionHandler">AGIConnectionHandler Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGIException.htm" title="AGIException Class" tocid="T_AsterNET_FastAGI_AGIException">AGIException Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGIHangupException.htm" title="AGIHangupException Class" tocid="T_AsterNET_FastAGI_AGIHangupException">AGIHangupException Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGINetworkException.htm" title="AGINetworkException Class" tocid="T_AsterNET_FastAGI_AGINetworkException">AGINetworkException Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGIReader.htm" title="AGIReader Class" tocid="T_AsterNET_FastAGI_AGIReader">AGIReader Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGIReply.htm" title="AGIReply Class" tocid="T_AsterNET_FastAGI_AGIReply">AGIReply Class</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="T_AsterNET_FastAGI_AGIReplyStatuses.htm" title="AGIReplyStatuses Enumeration" tocid="T_AsterNET_FastAGI_AGIReplyStatuses">AGIReplyStatuses Enumeration</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGIRequest.htm" title="AGIRequest Class" tocid="T_AsterNET_FastAGI_AGIRequest">AGIRequest Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGIScript.htm" title="AGIScript Class" tocid="T_AsterNET_FastAGI_AGIScript">AGIScript Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AGIWriter.htm" title="AGIWriter Class" tocid="T_AsterNET_FastAGI_AGIWriter">AGIWriter Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_AsteriskFastAGI.htm" title="AsteriskFastAGI Class" tocid="T_AsterNET_FastAGI_AsteriskFastAGI">AsteriskFastAGI Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_IMappingStrategy.htm" title="IMappingStrategy Interface" tocid="T_AsterNET_FastAGI_IMappingStrategy">IMappingStrategy Interface</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_InvalidCommandSyntaxException.htm" title="InvalidCommandSyntaxException Class" tocid="T_AsterNET_FastAGI_InvalidCommandSyntaxException">InvalidCommandSyntaxException Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_InvalidOrUnknownCommandException.htm" title="InvalidOrUnknownCommandException Class" tocid="T_AsterNET_FastAGI_InvalidOrUnknownCommandException">InvalidOrUnknownCommandException Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_FastAGI_MappingStrategy.htm" title="MappingStrategy Class" tocid="T_AsterNET_FastAGI_MappingStrategy">MappingStrategy Class</a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize"><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize"></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="logoColumn"><img src="../icons/Help.png" /></td><td class="titleColumn">AsterNET.FastAGI Namespace</td></tr></table><span class="introStyle"></span><div class="summary">AsterNet FastAGI</div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID0RB')" onkeypress="SectionExpandCollapse_CheckKey('ID0RB', event)" tabindex="0"><img id="ID0RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Classes</span></div><div id="ID0RBSection" class="collapsibleSection"><table id="typeList" class="members"><tr><th class="iconColumn">
 
</th><th>Class</th><th>Description</th></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGIChannel.htm">AGIChannel</a></td><td><div class="summary">
Default implementation of the AGIChannel interface.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGIConnectionHandler.htm">AGIConnectionHandler</a></td><td><div class="summary">
An AGIConnectionHandler is created and run by the AGIServer whenever a new
socket connection from an Asterisk Server is received.<br />
It reads the request using an AGIReader and runs the AGIScript configured to
handle this type of request. Finally it closes the socket connection.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGIException.htm">AGIException</a></td><td><div class="summary">
Abstract base class for all AGI specific exceptions.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGIHangupException.htm">AGIHangupException</a></td><td><div class="summary">
The AGIHangupException is thrown if the channel has been hang up while processing the AGIRequest.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGINetworkException.htm">AGINetworkException</a></td><td><div class="summary">
The AGINetworkException usally wraps an IOException denoting a network problem when talking to the Asterisk server.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGIReader.htm">AGIReader</a></td><td /></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGIReply.htm">AGIReply</a></td><td><div class="summary">
Default implementation of the AGIReply interface.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGIRequest.htm">AGIRequest</a></td><td><div class="summary">
Default implementation of the AGIRequest interface.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGIScript.htm">AGIScript</a></td><td><div class="summary">
The BaseAGIScript provides some convinience methods to make it easier to
write custom AGIScripts.<br />
Just extend it by your own AGIScripts.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AGIWriter.htm">AGIWriter</a></td><td><div class="summary">
Default implementation of the AGIWriter interface.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_AsteriskFastAGI.htm">AsteriskFastAGI</a></td><td /></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_InvalidCommandSyntaxException.htm">InvalidCommandSyntaxException</a></td><td><div class="summary">
An InvalidCommandSyntaxException is thrown when the reader receives a reply with status code 520.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_InvalidOrUnknownCommandException.htm">InvalidOrUnknownCommandException</a></td><td><div class="summary">
An InvalidOrUnknownCommandException is thrown when the reader receives a reply with status code 510.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_AsterNET_FastAGI_MappingStrategy.htm">MappingStrategy</a></td><td> <strong>Obsolete. </strong><div class="summary">
A MappingStrategy that is configured via a resource bundle.<br />
The resource bundle contains the script part of the url as key and the fully
qualified class name of the corresponding AGIScript as value.<br />
Example:
<pre>
noopcommand = AsterNET.FastAGI.Command.NoopCommand
</pre>
NoopCommand must implement the AGIScript interface and have a default constructor with no parameters.<br /></div></td></tr></table></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Interfaces</span></div><div id="ID1RBSection" class="collapsibleSection"><table id="typeList" class="members"><tr><th class="iconColumn">
 
</th><th>Interface</th><th>Description</th></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_AsterNET_FastAGI_IMappingStrategy.htm">IMappingStrategy</a></td><td /></tr></table></div><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Enumerations</span></div><div id="ID2RBSection" class="collapsibleSection"><table id="typeList" class="members"><tr><th class="iconColumn">
 
</th><th>Enumeration</th><th>Description</th></tr><tr data="enumeration; public"><td><img src="../icons/pubenumeration.gif" alt="Public enumeration" title="Public enumeration" /></td><td><a href="T_AsterNET_FastAGI_AGIReplyStatuses.htm">AGIReplyStatuses</a></td><td /></tr></table></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>