GroupSpecifier.hx 1.2 KB

123456789101112131415161718192021222324252627
  1. package flash.net;
  2. @:require(flash10_1) extern class GroupSpecifier {
  3. var ipMulticastMemberUpdatesEnabled : Bool;
  4. var minGroupspecVersion : Int;
  5. var multicastEnabled : Bool;
  6. var objectReplicationEnabled : Bool;
  7. var peerToPeerDisabled : Bool;
  8. var postingEnabled : Bool;
  9. var routingEnabled : Bool;
  10. var serverChannelEnabled : Bool;
  11. function new(name : String) : Void;
  12. function addBootstrapPeer(peerID : String) : Void;
  13. function addIPMulticastAddress(address : String, ?port : Dynamic, ?source : String) : Void;
  14. function authorizations() : String;
  15. function groupspecWithAuthorizations() : String;
  16. function groupspecWithoutAuthorizations() : String;
  17. function makeUnique() : Void;
  18. function setPostingPassword(?password : String, ?salt : String) : Void;
  19. function setPublishPassword(?password : String, ?salt : String) : Void;
  20. function toString() : String;
  21. static var maxSupportedGroupspecVersion(default,null) : Int;
  22. static function encodeBootstrapPeerIDSpec(peerID : String) : String;
  23. static function encodeIPMulticastAddressSpec(address : String, ?port : Dynamic, ?source : String) : String;
  24. static function encodePostingAuthorization(password : String) : String;
  25. static function encodePublishAuthorization(password : String) : String;
  26. }