diff options
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/JingleS5BTransportPayload.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Swiften/Elements/JingleS5BTransportPayload.h b/Swiften/Elements/JingleS5BTransportPayload.h index 0a40d31..f6132a1 100644 --- a/Swiften/Elements/JingleS5BTransportPayload.h +++ b/Swiften/Elements/JingleS5BTransportPayload.h @@ -1,8 +1,8 @@ /* - * Copyright (c) 2011 Isode Limited. + * Copyright (c) 2011-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once @@ -79,12 +79,20 @@ namespace Swift { } const std::string& getActivated() const { return activatedCID; } + void setDstAddr(const std::string& addr) { + dstAddr = addr; + } + + const std::string& getDstAddr() const { + return dstAddr; + } + void setCandidateError(bool hasError) { candidateError = hasError; } bool hasCandidateError() const { return candidateError; @@ -103,10 +111,11 @@ namespace Swift { private: Mode mode; std::vector<Candidate> candidates; std::string candidateUsedCID; std::string activatedCID; + std::string dstAddr; bool candidateError; bool proxyError; }; } |