asternet/docs/html/N_AsterNET_Manager_Response.htm

33 lines
11 KiB
HTML
Raw Normal View History

<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.Manager.Response Namespace</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="AsterNET.Manager.Response namespace" /><meta name="Microsoft.Help.F1" content="AsterNET.Manager.Response" /><meta name="Microsoft.Help.Id" content="N:AsterNET.Manager.Response" /><meta name="Description" content="summaryN:AsterNET.Manager.Response" /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="AsterNET.Manager.Response" /><meta name="file" content="N_AsterNET_Manager_Response" /><meta name="guid" content="N_AsterNET_Manager_Response" /><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_Manager_Response.htm" title="AsterNET.Manager.Response" tocid="N_AsterNET_Manager_Response">AsterNET.Manager.Response</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!"></a><a data-tochassubtree="true" href="T_AsterNET_Manager_Response_ChallengeResponse.htm" title="ChallengeResponse Class" tocid="T_AsterNET_Manager_Response_ChallengeResponse">ChallengeResponse 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_Manager_Response_CommandResponse.htm" title="CommandResponse Class" tocid="T_AsterNET_Manager_Response_CommandResponse">CommandResponse 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_Manager_Response_ExtensionStateResponse.htm" title="ExtensionStateResponse Class" tocid="T_AsterNET_Manager_Response_ExtensionStateResponse">ExtensionStateResponse 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_Manager_Response_GetConfigResponse.htm" title="GetConfigResponse Class" tocid="T_AsterNET_Manager_Response_GetConfigResponse">GetConfigResponse 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_Manager_Response_MailboxCountResponse.htm" title="MailboxCountResponse Class" tocid="T_AsterNET_Manager_Response_MailboxCountResponse">MailboxCountResponse Class</a></div><div class="toclevel2" data-to
 
</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_Manager_Response_ChallengeResponse.htm">ChallengeResponse</a></td><td><div class="summary">
Corresponds to a ChallengeAction and contains the challenge needed to log in using challenge/response.
</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_Manager_Response_CommandResponse.htm">CommandResponse</a></td><td><div class="summary">
Corresponds to a CommandAction.<br />
Asterisk's handling of the command action is generelly quite hairy.
It sends a "Response: Follows" line followed by the raw output of the command including empty lines.
At the end of the command output a line containing "--END COMMAND--" is sent.
The reader parses this response into a CommandResponse object to hide these details.
</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_Manager_Response_ExtensionStateResponse.htm">ExtensionStateResponse</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_Manager_Response_GetConfigResponse.htm">GetConfigResponse</a></td><td><div class="summary">
Response that is received when sending a GetConfigAction.<br />
Asterisk's response to the GetConfig command is ugly, and requires some
parsing of attributes. This class lazily parses its own attributes to hide
the ugly details. If the file requested exists but does not contain at least
a line with a category, the ResponseBuilder won't create an instance of
GetConfigResponse, as it won't know what the empty response is.
</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_Manager_Response_MailboxCountResponse.htm">MailboxCountResponse</a></td><td><div class="summary">
A MailboxCountResponse is sent in response to a MailboxCountAction and contains the number of old
and new messages in a mailbox.
</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_Manager_Response_MailboxStatusResponse.htm">MailboxStatusResponse</a></td><td><div class="summary">
A MailboxStatusResponse is sent in response to a MailboxStatusAction and indicates if a set
of mailboxes contains waiting messages.
</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_Manager_Response_ManagerError.htm">ManagerError</a></td><td><div class="summary">
Represents an "Response: Error" response received from the asterisk server.
The cause for the error is given in the message attribute.
</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_Manager_Response_ManagerResponse.htm">ManagerResponse</a></td><td><div class="summary">
Represents a response received from the Asterisk server as the result of a
previously sent ManagerAction.<br />
The response can be linked with the action that caused it by looking the
action id attribute that will match the action id of the corresponding
action.
</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_Manager_Response_OriginateResponse.htm">OriginateResponse</a></td><td /></tr></table></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>