Lines Matching refs:StunMessage
43 // StunMessage
45 StunMessage::StunMessage()
53 StunMessage::~StunMessage() {
59 bool StunMessage::IsLegacy() const {
66 bool StunMessage::SetTransactionID(const std::string& str) {
74 bool StunMessage::AddAttribute(StunAttribute* attr) {
89 const StunAddressAttribute* StunMessage::GetAddress(int type) const {
106 const StunUInt32Attribute* StunMessage::GetUInt32(int type) const {
110 const StunUInt64Attribute* StunMessage::GetUInt64(int type) const {
114 const StunByteStringAttribute* StunMessage::GetByteString(int type) const {
118 const StunErrorCodeAttribute* StunMessage::GetErrorCode() const {
123 const StunUInt16ListAttribute* StunMessage::GetUnknownAttributes() const {
130 bool StunMessage::ValidateMessageIntegrity(const char* data, size_t size,
208 bool StunMessage::AddMessageIntegrity(const std::string& password) {
212 bool StunMessage::AddMessageIntegrity(const char* key,
248 bool StunMessage::ValidateFingerprint(const char* data, size_t size) {
275 bool StunMessage::AddFingerprint() {
296 bool StunMessage::Read(ByteBuffer* buf) {
359 bool StunMessage::Write(ByteBuffer* buf) const {
376 StunAttributeValueType StunMessage::GetAttributeValueType(int type) const {
395 StunAttribute* StunMessage::CreateAttribute(int type, size_t length) /*const*/ {
401 const StunAttribute* StunMessage::GetAttribute(int type) const {
409 bool StunMessage::IsValidTransactionId(const std::string& transaction_id) {
438 StunMessage* owner) {
567 StunMessage* owner)