File: SharedObject.hx

package info (click to toggle)
haxe 1%3A4.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 42,984 kB
  • sloc: ml: 132,401; ansic: 2,403; makefile: 436; java: 365; cs: 336; cpp: 318; python: 315; sh: 75; objc: 64; php: 45; xml: 30; javascript: 11
file content (34 lines) | stat: -rw-r--r-- 1,791 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package flash.net;

extern class SharedObject extends flash.events.EventDispatcher {
	@:flash.property var client(get,set) : Dynamic;
	@:flash.property var data(get,never) : Dynamic;
	@:flash.property var fps(never,set) : Float;
	@:flash.property var objectEncoding(get,set) : UInt;
	@:flash.property var size(get,never) : UInt;
	function new() : Void;
	function clear() : Void;
	function close() : Void;
	function connect(myConnection : NetConnection, ?params : String) : Void;
	function flush(minDiskSpace : Int = 0) : String;
	private function get_client() : Dynamic;
	private function get_data() : Dynamic;
	private function get_objectEncoding() : UInt;
	private function get_size() : UInt;
	function send(restArgs : haxe.extern.Rest<Dynamic>) : Void;
	function setDirty(propertyName : String) : Void;
	function setProperty(propertyName : String, ?value : flash.utils.Object) : Void;
	private function set_client(value : Dynamic) : Dynamic;
	private function set_fps(value : Float) : Float;
	private function set_objectEncoding(value : UInt) : UInt;
	@:flash.property static var defaultObjectEncoding(get,set) : UInt;
	@:flash.property @:require(flash11_7) static var preventBackup(get,set) : Bool;
	static function deleteAll(url : String) : Int;
	static function getDiskUsage(url : String) : Int;
	static function getLocal(name : String, ?localPath : String, secure : Bool = false) : SharedObject;
	static function getRemote(name : String, ?remotePath : String, persistence : Dynamic = false, secure : Bool = false) : SharedObject;
	private static function get_defaultObjectEncoding() : UInt;
	private static function get_preventBackup() : Bool;
	private static function set_defaultObjectEncoding(value : UInt) : UInt;
	private static function set_preventBackup(value : Bool) : Bool;
}