Package Peach :: Package Generators :: Module turn :: Class TurnRealmAttribute
[hide private]

Class TurnRealmAttribute

source code


REALM

The REALM attribute is present in Shared Secret Requests and Shared Secret Responses. It contains text which meets the grammar for "realm" as described in RFC 3261, and will thus contain a quoted string (including the quotes).

Instance Methods [hide private]
 
__init__(self, group, realm) source code
 
_getValue(self) source code
Class Variables [hide private]
  _realm = None

Inherited from TurnAttribute: ALTERNATE_SERVER, BANDWIDTH, DATA, DESTINATION_ADDRESS, LIFETIME, MAGIC_COOKIE, NAT_ADDRESS, NONCE, REALM, REMOTE_ADDRESS

Method Details [hide private]

__init__(self, group, realm)
(Constructor)

source code 
Parameters:
  • group (Group) - Group to use
  • realm (Generator) - Realm string ("fooyah.com")