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

Class TurnHeader

source code


This generator creates a TURN header. A TURN header is 20 bytes long.

Class Variables [hide private]
  ALLOCATE_REQUEST = 0x0003
  ALLOCATE_RESPONSE = 0x0103
  ALLOCATE_ERROR_RESPONSE = 0x0113
  SEND_REQUEST = 0x0004
  SEND_RESPONSE = 0x0104
  SEND_ERROR_RESPONSE = 0x0114
  DATA_INDICATION = 0x0115
  SET_ACTIVE_DEST_REQUEST = 0x0006
  SET_ACTIVE_DEST_RESPONSE = 0x0106
  SET_ACTIVE_DEST_ERROR_RESPONSE = 0x0116