GroupSpecifier.hx 1.1 KB

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