| Package | fin.desktop.connection |
| Class | public class DesktopConnection |
| Inheritance | DesktopConnection flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| maxMessageSize : uint | DesktopConnection | ||
| maxReceivedFrameSize : uint | DesktopConnection | ||
| valid : Boolean [read-only] | DesktopConnection | ||
| Method | Defined By | ||
|---|---|---|---|
DesktopConnection(uuid:String, host:String, port:String, onReady:Function, onError:Function = null, onClose:Function = null, runtimeConfiguration:RuntimeConfiguration = null) | DesktopConnection | ||
[static] | DesktopConnection | ||
sendMessage(action:String, payload:Object = null, onMessage:Function = null, onError:Function = null):int | DesktopConnection | ||
| maxMessageSize | property |
maxMessageSize:uint public function get maxMessageSize():uint public function set maxMessageSize(value:uint):void| maxReceivedFrameSize | property |
maxReceivedFrameSize:uint public function get maxReceivedFrameSize():uint public function set maxReceivedFrameSize(value:uint):void| valid | property |
valid:Boolean [read-only] public function get valid():Boolean| DesktopConnection | () | Constructor |
public function DesktopConnection(uuid:String, host:String, port:String, onReady:Function, onError:Function = null, onClose:Function = null, runtimeConfiguration:RuntimeConfiguration = null)uuid:String | |
host:String | |
port:String | |
onReady:Function | |
onError:Function (default = null) | |
onClose:Function (default = null) | |
runtimeConfiguration:RuntimeConfiguration (default = null) |
| getInstance | () | method |
| sendMessage | () | method |
public function sendMessage(action:String, payload:Object = null, onMessage:Function = null, onError:Function = null):intParameters
action:String | |
payload:Object (default = null) | |
onMessage:Function (default = null) | |
onError:Function (default = null) |
int |