SocketConnection
class haxe.remoting.SocketConnectionimplements AsyncConnectionimplements Dynamic<AsyncConnection>Available in flash8, flash, neko, js, php, cpp, cs, java
function call( params : Array<Dynamic>, ?onResult : Dynamic -> Void ) : Void
function close() : Void
function getProtocol() : SocketProtocol
function processMessage( data : String ) : Void
function resolve( name : String ) : AsyncConnection
function setErrorHandler( h : Dynamic -> Void ) : Void
function setErrorLogger( h : Array<String> -> Array<Dynamic> -> Dynamic -> Void ) : Void
function setProtocol( p : SocketProtocol ) : Void
static function create( s : Socket, ?ctx : Context ) : SocketConnectionAvailable in flash8, flash, neko, jsIn Flash : allows remoting communications over an XMLSocket.
In Neko: can be used for real time communications with a Flash client which is using an XMLSocket to connect to the server.
In Neko: can be used for real time communications with a Flash client which is using an XMLSocket to connect to the server.
version #14752, modified 2012-07-16 12:26:57 by api
0 comment