XMLSocket.hx 505 B

12345678910111213
  1. package flash.net;
  2. extern class XMLSocket extends flash.events.EventDispatcher {
  3. @:flash.property var connected(get,never) : Bool;
  4. @:flash.property @:require(flash10) var timeout(get,set) : Int;
  5. function new(?host : String, port : Int = 0) : Void;
  6. function close() : Void;
  7. function connect(host : String, port : Int) : Void;
  8. private function get_connected() : Bool;
  9. private function get_timeout() : Int;
  10. function send(object : Dynamic) : Void;
  11. private function set_timeout(value : Int) : Int;
  12. }