Package | fin.desktop.connection |
Class | public class DesktopConnection |
Inheritance | DesktopConnection flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
DesktopConnection(uuid:String, host:String, port:String, onReady:Function, onError:Function = null) | DesktopConnection | ||
[static] | DesktopConnection | ||
sendMessage(action:String, payload:Object = null, onMessage:Function = null, onError:Function = null):int | DesktopConnection |
DesktopConnection | () | Constructor |
public function DesktopConnection(uuid:String, host:String, port:String, onReady:Function, onError:Function = null)
uuid:String | |
host:String | |
port:String | |
onReady:Function | |
onError:Function (default = null )
|
getInstance | () | method |
sendMessage | () | method |
public function sendMessage(action:String, payload:Object = null, onMessage:Function = null, onError:Function = null):int
Parameters
action:String | |
payload:Object (default = null )
| |
onMessage:Function (default = null )
| |
onError:Function (default = null )
|
int |