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

Class TurnDestinationAddressAttribute

source code


DESTINATION-ADDRESS

The DESTINATION-ADDRESS is present in Send Requests and Set Active Destination Requests. It specifies the address and port where the data is to be sent. It is encoded in the same way as MAPPED-ADDRESS.

Instance Methods [hide private]
 
__init__(self, group, port, address, family=0x01) source code
Method Details [hide private]

__init__(self, group, port, address, family=0x01)
(Constructor)

source code 
Parameters:
  • group (Group) - Group to use
  • family (Generator) - Family (defaults to 0x01 IPV4)
  • port (Generator) - Port number
  • address (Generator) - 32bit IPv4 address