Package Peach :: Package Generators :: Module stun :: Class StunResponseAddressAttribute
[hide private]

Class StunResponseAddressAttribute

source code


RESPONSE-ADDRESS

The RESPONSE-ADDRESS attribute indicates where the response to a Binding Request should be sent. Its syntax is identical to MAPPED- ADDRESS.

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

Inherited from StunMappedAddressAttribute: next, reset

Inherited from StunMappedAddressAttribute (private): _getValue

Inherited from StunAttribute: getRawValue

Class Variables [hide private]

Inherited from StunMappedAddressAttribute (private): _address, _empty, _family, _port

Inherited from StunAttribute: CHANGED_ADDRESS, CHANGE_REQUEST, ERROR_CODE, MAPPED_ADDRESS, MESSAGE_INTEGRITY, PASSWORD, REFLECTED_FROM, RESPONSE_ADDRESS, SOURCE_ADDRESS, UNKNOWN_ATTRIBUTES, USERNAME

Inherited from StunAttribute (private): _generator, _length, _type

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
Overrides: StunAttribute.__init__