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

Class TurnDataAttribute

source code


DATA

The DATA attribute is present in Send Requests and Data Indications. It contains raw payload data that is to be sent (in the case of a Send Request) or was received (in the case of a Data Indication).

Instance Methods [hide private]
 
__init__(self, group, data) source code
 
_getValue(self) source code
Class Variables [hide private]

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, data)
(Constructor)

source code 
Parameters:
  • group (Group) - Group to use
  • data (Generator) - Data to send through