Packagecom.aispeech.core
Classpublic class CoreRequester4HTTPService
InheritanceCoreRequester4HTTPService Inheritance CoreRequesterBase Inheritance flash.events.EventDispatcher
Implements ICoreRequester



Public Properties
 PropertyDefined By
 InheritedcoreRequesterParams : Object
CoreRequesterBase
 Inheritedstate : String
[read-only]
CoreRequesterBase
 Inheritedtimeout : int
CoreRequesterBase
Protected Properties
 PropertyDefined By
 Inherited_coreRequesterLog : CoreRequesterLog
CoreRequesterBase
 Inherited_currentStreamId : String
CoreRequesterBase
 Inherited_requestTimeout : Dictionary
CoreRequesterBase
 Inherited_state : String
CoreRequesterBase
Public Methods
 MethodDefined By
  
CoreRequester4HTTPService
  
dispose():void
CoreRequester4HTTPService
  
parseResults(results:Object):void
Parse core result Dispatch CoreRequesterEvent.RESULT when proper results arrives, in addition to httpHeader info as a JSON Object Dispatch CoreRequesterEvent.EXCEPTION_when error occurs, in addition to httpHeader info as a JSON object Dispatch CoreRequesterEvent.EOF when core returns EOF
CoreRequester4HTTPService
  
requestCore(waveObject:Object):void
CoreRequester4HTTPService
Protected Methods
 MethodDefined By
 Inherited
clearRequestTimeout(requestId:String):void
clearn timeout closure function
CoreRequesterBase
 Inherited
onTimeout(requestId:String):void
core request timeout handler dispatch CoreRequesterEvent.EXCEPTION_TIMEOUT, carrying recordId as data
CoreRequesterBase
Constructor Detail
CoreRequester4HTTPService()Constructor
public function CoreRequester4HTTPService(localServiceConnection:HttpConnection)



Parameters
localServiceConnection:HttpConnection
Method Detail
dispose()method
public function dispose():void

parseResults()method 
public function parseResults(results:Object):void

Parse core result Dispatch CoreRequesterEvent.RESULT when proper results arrives, in addition to httpHeader info as a JSON Object Dispatch CoreRequesterEvent.EXCEPTION_when error occurs, in addition to httpHeader info as a JSON object Dispatch CoreRequesterEvent.EOF when core returns EOF

Parameters

results:Object — Local server full http response

requestCore()method 
public function requestCore(waveObject:Object):void

Parameters

waveObject:Object — { waveType [LocalWave.START_OF_STREAM | LocalWave.END_OF_STREAM | LocalWave.WHOLE_STREAM] wave (ByteArray) }