PTLib  Version 2.18.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PSTUNAttributeTemplate< ATTR_TYPE, PARAMS_TYPE > Class Template Reference

#include <pstun.h>

Inheritance diagram for PSTUNAttributeTemplate< ATTR_TYPE, PARAMS_TYPE >:
Collaboration diagram for PSTUNAttributeTemplate< ATTR_TYPE, PARAMS_TYPE >:

Public Member Functions

 PSTUNAttributeTemplate ()
 
 PSTUNAttributeTemplate (PARAMS_TYPE parameters)
 
bool IsValid () const
 
- Public Member Functions inherited from PSTUNAttribute
 PSTUNAttribute (Types newType=ERROR_CODE, size_t len=0)
 
PSTUNAttributeGetNext () const
 

Static Public Member Functions

static __inline
PSTUNAttributeTemplate
Find (const PSTUNMessage &message)
 

Additional Inherited Members

- Public Types inherited from PSTUNAttribute
enum  Types {
  MAPPED_ADDRESS = 0x0001, RESPONSE_ADDRESS = 0x0002, CHANGE_REQUEST = 0x0003, SOURCE_ADDRESS = 0x0004,
  CHANGED_ADDRESS = 0x0005, USERNAME = 0x0006, PASSWORD = 0x0007, MESSAGE_INTEGRITY = 0x0008,
  ERROR_CODE = 0x0009, UNKNOWN_ATTRIBUTES = 0x000a, REFLECTED_FROM = 0x000b, CHANNEL_NUMBER = 0x000C,
  LIFETIME = 0x000D, XOR_PEER_ADDRESS = 0x0012, DATA = 0x0013, REALM = 0x0014,
  NONCE = 0x0015, XOR_RELAYED_ADDRESS = 0x0016, EVEN_PORT = 0x0018, REQUESTED_TRANSPORT = 0x0019,
  DONT_FRAGMENT = 0x001A, XOR_MAPPED_ADDRESS = 0x0020, RESERVATION_TOKEN = 0x0022, PRIORITY = 0x0024,
  USE_CANDIDATE = 0x0025, ICE_CONTROLLED = 0x8029, ICE_CONTROLLING = 0x802A, ICE_NETWORK_COST = 0xC057,
  PADDING = 0x0026, RESPONSE_PORT = 0x0027, FINGERPRINT = 0x8028, ALTERNATE_SERVER = 0x8023,
  RESPONSE_ORIGIN = 0x802b, OTHER_ADDRESS = 0x802c
}
 
- Public Attributes inherited from PSTUNAttribute
PUInt16b type
 
PUInt16b length
 

Constructor & Destructor Documentation

template<PSTUNAttribute::Types ATTR_TYPE, class PARAMS_TYPE >
PSTUNAttributeTemplate< ATTR_TYPE, PARAMS_TYPE >::PSTUNAttributeTemplate ( )
inline
template<PSTUNAttribute::Types ATTR_TYPE, class PARAMS_TYPE >
PSTUNAttributeTemplate< ATTR_TYPE, PARAMS_TYPE >::PSTUNAttributeTemplate ( PARAMS_TYPE  parameters)
inline

Member Function Documentation

template<PSTUNAttribute::Types ATTR_TYPE, typename PARAMS_TYPE >
PSTUNAttributeTemplate< ATTR_TYPE, PARAMS_TYPE > * PSTUNAttributeTemplate< ATTR_TYPE, PARAMS_TYPE >::Find ( const PSTUNMessage message)
static
template<PSTUNAttribute::Types ATTR_TYPE, class PARAMS_TYPE >
bool PSTUNAttributeTemplate< ATTR_TYPE, PARAMS_TYPE >::IsValid ( ) const
inline

The documentation for this class was generated from the following file: