LocalConnection.hx 979 B

1234567891011121314151617181920
  1. package flash.net;
  2. extern class LocalConnection extends flash.events.EventDispatcher {
  3. @:flash.property var client(get,set) : Dynamic;
  4. @:flash.property var domain(get,never) : String;
  5. @:flash.property @:require(flash10_1) var isPerUser(get,set) : Bool;
  6. function new() : Void;
  7. function allowDomain(restArgs : haxe.extern.Rest<Dynamic>) : Void;
  8. function allowInsecureDomain(restArgs : haxe.extern.Rest<Dynamic>) : Void;
  9. function close() : Void;
  10. function connect(connectionName : String) : Void;
  11. private function get_client() : Dynamic;
  12. private function get_domain() : String;
  13. private function get_isPerUser() : Bool;
  14. function send(connectionName : String, methodName : String, restArgs : haxe.extern.Rest<Dynamic>) : Void;
  15. private function set_client(value : Dynamic) : Dynamic;
  16. private function set_isPerUser(value : Bool) : Bool;
  17. @:flash.property @:require(flash10_1) static var isSupported(get,never) : Bool;
  18. private static function get_isSupported() : Bool;
  19. }