Home | History | Annotate | Download | only in base

Lines Matching refs:StunErrorCodeAttribute

118 const StunErrorCodeAttribute* StunMessage::GetErrorCode() const {
119 return static_cast<const StunErrorCodeAttribute*>(
451 return new StunErrorCodeAttribute(type, length);
479 StunErrorCodeAttribute* StunAttribute::CreateErrorCode() {
480 return new StunErrorCodeAttribute(
481 STUN_ATTR_ERROR_CODE, StunErrorCodeAttribute::MIN_SIZE);
762 StunErrorCodeAttribute::StunErrorCodeAttribute(uint16_t type,
770 StunErrorCodeAttribute::StunErrorCodeAttribute(uint16_t type, uint16_t length)
774 StunErrorCodeAttribute::~StunErrorCodeAttribute() {
777 int StunErrorCodeAttribute::code() const {
781 void StunErrorCodeAttribute::SetCode(int code) {
786 void StunErrorCodeAttribute::SetReason(const std::string& reason) {
791 bool StunErrorCodeAttribute::Read(ByteBuffer* buf) {
809 bool StunErrorCodeAttribute::Write(ByteBuffer* buf) const {