{"size": 11963, "ext": "js", "max_stars_repo_path": "docs/output/FlowMVC.mvc.service.rpc.AsyncToken.js", "max_stars_repo_name": "webappsolution/flow-mvc", "max_stars_repo_stars_event_min_datetime": "2019-06-27T06:06:24.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-30T14:08:54.000Z", "max_issues_repo_path": "docs/output/FlowMVC.mvc.service.rpc.AsyncToken.js", "max_issues_repo_name": "WebAppSolutionInc/flow-mvc", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/output/FlowMVC.mvc.service.rpc.AsyncToken.js", "max_forks_repo_name": "WebAppSolutionInc/flow-mvc", "max_forks_repo_forks_event_min_datetime": "2019-06-27T06:06:29.000Z", "max_forks_repo_forks_event_max_datetime": "2019-06-27T06:06:29.000Z"}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 11963.0, "max_line_length": 11963, "alphanum_fraction": 0.7325921592}
Ext.data.JsonP.FlowMVC_mvc_service_rpc_AsyncToken({"extends":"Ext.Base","uses":[],"subclasses":[],"superclasses":["Ext.Base"],"component":false,"tagname":"class","meta":{},"code_type":"ext_define","requires":["FlowMVC.util.UIDUtil"],"mixedInto":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'>Ext.Base<div class='subclass '><strong>FlowMVC.mvc.service.rpc.AsyncToken</strong></div></div><h4>Requires</h4><div class='dependency'><a href='#!/api/FlowMVC.util.UIDUtil' rel='FlowMVC.util.UIDUtil' class='docClass'>FlowMVC.util.UIDUtil</a></div><h4>Files</h4><div class='dependency'><a href='source/AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken' target='_blank'>AsyncToken.js</a></div></pre><div class='doc-contents'><p>Contains a reference to a {<a href=\"#!/api/FlowMVC.mvc.service.rpc.Responder\" rel=\"FlowMVC.mvc.service.rpc.Responder\" class=\"docClass\">FlowMVC.mvc.service.rpc.Responder</a>}, an object making an asynchronous service call. The\nAsyncToken then appliers the success and failure callback methods to the service by inspecting and using the\nmethods defined in the Responder object.</p>\n</div><div class='members'><div class='members-section'><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Instance Properties</h3><div id='property-id' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='FlowMVC.mvc.service.rpc.AsyncToken'>FlowMVC.mvc.service.rpc.AsyncToken</span><br/><a href='source/AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken-property-id' target='_blank' class='view-source'>view source</a></div><a href='#!/api/FlowMVC.mvc.service.rpc.AsyncToken-property-id' class='name not-expandable'>id</a><span> : String</span></div><div class='description'><div class='short'><p>The unique ID of the token.</p>\n</div><div class='long'><p>The unique ID of the token.</p>\n</div></div></div><div id='property-responder' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='FlowMVC.mvc.service.rpc.AsyncToken'>FlowMVC.mvc.service.rpc.AsyncToken</span><br/><a href='source/AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken-property-responder' target='_blank' class='view-source'>view source</a></div><a href='#!/api/FlowMVC.mvc.service.rpc.AsyncToken-property-responder' class='name not-expandable'>responder</a><span> : <a href=\"#!/api/FlowMVC.mvc.service.rpc.Responder\" rel=\"FlowMVC.mvc.service.rpc.Responder\" class=\"docClass\">FlowMVC.mvc.service.rpc.Responder</a>/Object</span></div><div class='description'><div class='short'><p>The object that contains success and failure methods\nused for asynchronous service callbacks.</p>\n</div><div class='long'><p>The object that contains success and failure methods\nused for asynchronous service callbacks.</p>\n</div></div></div></div><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Static Properties</h3><div id='static-property-logger' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='FlowMVC.mvc.service.rpc.AsyncToken'>FlowMVC.mvc.service.rpc.AsyncToken</span><br/><a href='source/AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken-static-property-logger' target='_blank' class='view-source'>view source</a></div><a href='#!/api/FlowMVC.mvc.service.rpc.AsyncToken-static-property-logger' class='name not-expandable'>logger</a><span> : <a href=\"#!/api/FlowMVC.logger.Logger\" rel=\"FlowMVC.logger.Logger\" class=\"docClass\">FlowMVC.logger.Logger</a></span><strong class='static signature' >static</strong></div><div class='description'><div class='short'><p>The logger for the object.</p>\n</div><div class='long'><p>The logger for the object.</p>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='FlowMVC.mvc.service.rpc.AsyncToken'>FlowMVC.mvc.service.rpc.AsyncToken</span><br/><a href='source/AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/FlowMVC.mvc.service.rpc.AsyncToken-method-constructor' class='name expandable'>FlowMVC.mvc.service.rpc.AsyncToken</a>( <span class='pre'></span> ) : <a href=\"#!/api/FlowMVC.mvc.service.rpc.AsyncToken\" rel=\"FlowMVC.mvc.service.rpc.AsyncToken\" class=\"docClass\">FlowMVC.mvc.service.rpc.AsyncToken</a></div><div class='description'><div class='short'>The constructor creates a AsyncToken object with a success and failure method reference, as well as\nscope reference t...</div><div class='long'><p>The constructor creates a AsyncToken object with a success and failure method reference, as well as\nscope reference to the object that creates it.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/FlowMVC.mvc.service.rpc.AsyncToken\" rel=\"FlowMVC.mvc.service.rpc.AsyncToken\" class=\"docClass\">FlowMVC.mvc.service.rpc.AsyncToken</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-addResponder' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='FlowMVC.mvc.service.rpc.AsyncToken'>FlowMVC.mvc.service.rpc.AsyncToken</span><br/><a href='source/AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken-method-addResponder' target='_blank' class='view-source'>view source</a></div><a href='#!/api/FlowMVC.mvc.service.rpc.AsyncToken-method-addResponder' class='name expandable'>addResponder</a>( <span class='pre'>responder</span> )</div><div class='description'><div class='short'>Adds a responder to this token. ...</div><div class='long'><p>Adds a responder to this token.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>responder</span> : <a href=\"#!/api/FlowMVC.mvc.service.rpc.Responder\" rel=\"FlowMVC.mvc.service.rpc.Responder\" class=\"docClass\">FlowMVC.mvc.service.rpc.Responder</a><div class='sub-desc'><p>The object that contains success and failure methods\nused for asynchronous service callbacks.</p>\n</div></li></ul></div></div></div><div id='method-applyCallback' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='FlowMVC.mvc.service.rpc.AsyncToken'>FlowMVC.mvc.service.rpc.AsyncToken</span><br/><a href='source/AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken-method-applyCallback' target='_blank' class='view-source'>view source</a></div><a href='#!/api/FlowMVC.mvc.service.rpc.AsyncToken-method-applyCallback' class='name expandable'>applyCallback</a>( <span class='pre'>callback, scope, response</span> )</div><div class='description'><div class='short'>Applies the callback of the asynchronous action on the responder's defined callback method passing\nit the response pa...</div><div class='long'><p>Applies the callback of the asynchronous action on the responder's defined callback method passing\nit the response parameter from the action.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>callback</span> : Object<div class='sub-desc'><p>{Function} The callback function to execute.</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>{Object} The scope to execute the callback within.</p>\n</div></li><li><span class='pre'>response</span> : Object<div class='sub-desc'><p>{Object} The scope to execute the callback within.</p>\n</div></li></ul></div></div></div><div id='method-applyFailure' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='FlowMVC.mvc.service.rpc.AsyncToken'>FlowMVC.mvc.service.rpc.AsyncToken</span><br/><a href='source/AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken-method-applyFailure' target='_blank' class='view-source'>view source</a></div><a href='#!/api/FlowMVC.mvc.service.rpc.AsyncToken-method-applyFailure' class='name expandable'>applyFailure</a>( <span class='pre'>response</span> )</div><div class='description'><div class='short'>Applies the failure callback of the asynchronous action on the responder's defined failure method passing\nit the resp...</div><div class='long'><p>Applies the failure callback of the asynchronous action on the responder's defined failure method passing\nit the response parameter from the action.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>response</span> : Object<div class='sub-desc'><p>The data object returned from the failure of the asynchronous action.</p>\n</div></li></ul></div></div></div><div id='method-applySuccess' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='FlowMVC.mvc.service.rpc.AsyncToken'>FlowMVC.mvc.service.rpc.AsyncToken</span><br/><a href='source/AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken-method-applySuccess' target='_blank' class='view-source'>view source</a></div><a href='#!/api/FlowMVC.mvc.service.rpc.AsyncToken-method-applySuccess' class='name expandable'>applySuccess</a>( <span class='pre'>response</span> )</div><div class='description'><div class='short'>Applies the successful callback of the asynchronous action on the responder's defined success method passing\nit the r...</div><div class='long'><p>Applies the successful callback of the asynchronous action on the responder's defined success method passing\nit the response parameter from the action.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>response</span> : Object<div class='sub-desc'><p>The data object returned from the success of the asynchronous action.</p>\n</div></li></ul></div></div></div></div></div></div></div>","parentMixins":[],"files":[{"href":"AsyncToken.html#FlowMVC-mvc-service-rpc-AsyncToken","filename":"AsyncToken.js"}],"linenr":18,"inheritable":null,"members":{"cfg":[],"css_var":[],"property":[{"meta":{},"tagname":"property","owner":"FlowMVC.mvc.service.rpc.AsyncToken","name":"id","id":"property-id"},{"meta":{},"tagname":"property","owner":"FlowMVC.mvc.service.rpc.AsyncToken","name":"responder","id":"property-responder"}],"method":[{"meta":{},"tagname":"method","owner":"FlowMVC.mvc.service.rpc.AsyncToken","name":"constructor","id":"method-constructor"},{"meta":{},"tagname":"method","owner":"FlowMVC.mvc.service.rpc.AsyncToken","name":"addResponder","id":"method-addResponder"},{"meta":{},"tagname":"method","owner":"FlowMVC.mvc.service.rpc.AsyncToken","name":"applyCallback","id":"method-applyCallback"},{"meta":{},"tagname":"method","owner":"FlowMVC.mvc.service.rpc.AsyncToken","name":"applyFailure","id":"method-applyFailure"},{"meta":{},"tagname":"method","owner":"FlowMVC.mvc.service.rpc.AsyncToken","name":"applySuccess","id":"method-applySuccess"}],"event":[],"css_mixin":[]},"singleton":false,"override":null,"mixins":[],"private":null,"statics":{"cfg":[],"css_var":[],"property":[{"meta":{"static":true},"tagname":"property","owner":"FlowMVC.mvc.service.rpc.AsyncToken","name":"logger","id":"static-property-logger"}],"method":[],"event":[],"css_mixin":[]},"name":"FlowMVC.mvc.service.rpc.AsyncToken","enum":null,"html_meta":{},"id":"class-FlowMVC.mvc.service.rpc.AsyncToken","alternateClassNames":[],"aliases":{},"inheritdoc":null});