summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/JingleS5BTransportPayload.h11
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,5 +1,5 @@
/*
- * Copyright (c) 2011 Isode Limited.
+ * Copyright (c) 2011-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -82,6 +82,14 @@ namespace Swift {
return activatedCID;
}
+ void setDstAddr(const std::string& addr) {
+ dstAddr = addr;
+ }
+
+ const std::string& getDstAddr() const {
+ return dstAddr;
+ }
+
void setCandidateError(bool hasError) {
candidateError = hasError;
}
@@ -106,6 +114,7 @@ namespace Swift {
std::string candidateUsedCID;
std::string activatedCID;
+ std::string dstAddr;
bool candidateError;
bool proxyError;
};