| Package | com.aispeech.events |
| Class | public class NetEvent |
| Inheritance | NetEvent AIEvent flash.events.Event |
| Method | Defined By | ||
|---|---|---|---|
NetEvent(type:String, message:String, data:* = null, bubbles:Boolean = false, cancelable:Boolean = false) | NetEvent | ||
![]() | clone():Event [override] | AIEvent | |
| Constant | Defined By | ||
|---|---|---|---|
| CONNECTED : String = net.server is connected [static]
event data
{sessionId:String} from RTMPConnection
null from HTTPConnection
| NetEvent | ||
| EXCEPTION_AUTH_FAILED : String = net.exception.auth.failed [static] | NetEvent | ||
| EXCEPTION_CLOSED : String = net.exception.closed [static] | NetEvent | ||
| EXCEPTION_FAILED : String = net.exception.failed [static] | NetEvent | ||
| EXCEPTION_IOERROR : String = net.exception.io.error [static] | NetEvent | ||
| EXCEPTION_REJECTED : String = net.exception.rejected [static] | NetEvent | ||
| EXCEPTION_RPC_SECURITY_ERROR : String = net.exception.security.error [static] | NetEvent | ||
| EXCEPTION_SECURITY_ERROR : String = net.security.error [static] | NetEvent | ||
| EXCEPTION_TIMEOUT : String = net.exception.timeout [static] | NetEvent | ||
| LATENCYCHECK_FAULT : String = net.latencycheck.fault [static] | NetEvent | ||
| LATENCYCHECK_RESULT : String = net.latencycheck.result [static] | NetEvent | ||
| RESPONSED : String = net.server responses [static]
event data
{header:Object, body: from RTMPConnection
AIHttpResponse from HTTPConnection
| NetEvent | ||
| NetEvent | () | Constructor |
public function NetEvent(type:String, message:String, data:* = null, bubbles:Boolean = false, cancelable:Boolean = false)type:String | |
message:String | |
data:* (default = null) | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) |
| CONNECTED | Constant |
public static const CONNECTED:String = net.server is connectedevent data
| EXCEPTION_AUTH_FAILED | Constant |
public static const EXCEPTION_AUTH_FAILED:String = net.exception.auth.failed| EXCEPTION_CLOSED | Constant |
public static const EXCEPTION_CLOSED:String = net.exception.closed| EXCEPTION_FAILED | Constant |
public static const EXCEPTION_FAILED:String = net.exception.failed| EXCEPTION_IOERROR | Constant |
public static const EXCEPTION_IOERROR:String = net.exception.io.error| EXCEPTION_REJECTED | Constant |
public static const EXCEPTION_REJECTED:String = net.exception.rejected| EXCEPTION_RPC_SECURITY_ERROR | Constant |
public static const EXCEPTION_RPC_SECURITY_ERROR:String = net.exception.security.error| EXCEPTION_SECURITY_ERROR | Constant |
public static const EXCEPTION_SECURITY_ERROR:String = net.security.error| EXCEPTION_TIMEOUT | Constant |
public static const EXCEPTION_TIMEOUT:String = net.exception.timeout| LATENCYCHECK_FAULT | Constant |
public static const LATENCYCHECK_FAULT:String = net.latencycheck.fault| LATENCYCHECK_RESULT | Constant |
public static const LATENCYCHECK_RESULT:String = net.latencycheck.result| RESPONSED | Constant |
public static const RESPONSED:String = net.server responsesevent data