| Class | Description |
---|
| ConnectionBase |
Base class of Connection classes
Implement common Connection class properties and methods
Checkout the protected properties and methods for the details. |
| ConnectionParams |
Plain value object holding connection params, including
url [read only]: scheme://domain:port
scheme [read only]:
domain [read only]:
port [read only]:
timeout: default 3000 (ms)
authSignature: default null
|
| ConnectionState |
|
| HttpConnection |
|
| HttpRPCHelper |
|
| LatencyCheck |
Check latency of the given connection
Dispatch NetEvent.LATENCYCHECK_RESULT event when success,
data {latency:int}
Dispatch NetEvent:LATENCYCHECK_FAULT event when fail
|
| RTMPConnection |
RTMP connection
events
TODO****** modify event names
NetEvent.CONNECTED
AudioIOEvent.SERVER_OUT_OF_TIME
AudioIOEvent.EXCEPTION_HOST_NET_CHANGE
AudioIOEvent.EXCEPTION_SERVER_CONNECT_CLOSE
AudioIOEvent.EXCEPTION_SERVER_CONNECT_FAILED
AudioIOEvent.EXCEPTION_SERVER_CONNECT_REJECTED
AudioIOEvent.REPLAY_STOP
|