summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicevivox.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-03-22 06:29:02 -0400
committerOz Linden <oz@lindenlab.com>2016-03-22 06:29:02 -0400
commit12c93702a71a76997eeaca3ef2f1a76d9446b8c6 (patch)
tree8a29efc4569d8b60deff5c3af7843fa423144330 /indra/newview/llvoicevivox.h
parentfdba6253fb8f27632664d28630bfee05b291823b (diff)
VOICE-36: generate and expect random connection and account handles
Diffstat (limited to 'indra/newview/llvoicevivox.h')
-rwxr-xr-xindra/newview/llvoicevivox.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/indra/newview/llvoicevivox.h b/indra/newview/llvoicevivox.h
index c75e1bf39b..f32c7c975f 100755
--- a/indra/newview/llvoicevivox.h
+++ b/indra/newview/llvoicevivox.h
@@ -697,10 +697,10 @@ private:
S32 mCurrentParcelLocalID; // Used to detect parcel boundary crossings
std::string mCurrentRegionName; // Used to detect parcel boundary crossings
- std::string mConnectorHandle; // returned by "Create Connector" message
- std::string mAccountHandle; // returned by login message
- int mNumberOfAliases;
- U32 mCommandCookie;
+ bool mConnectorEstablished; // set by "Create Connector" response
+ bool mAccountLoggedIn; // set by login message
+ int mNumberOfAliases;
+ U32 mCommandCookie;
std::string mVoiceAccountServerURI;
std::string mVoiceSIPURIHostName;
@@ -913,6 +913,7 @@ private:
LLEventMailDrop mVivoxPump;
};
+
/**
* @class LLVivoxProtocolParser
* @brief This class helps construct new LLIOPipe specializations
@@ -1024,6 +1025,19 @@ protected:
};
+class LLVivoxSecurity : public LLSingleton<LLVivoxSecurity>
+{
+ public:
+ LLVivoxSecurity();
+ virtual ~LLVivoxSecurity();
+
+ std::string connectorHandle() { return mConnectorHandle; };
+ std::string accountHandle() { return mAccountHandle; };
+
+ private:
+ std::string mConnectorHandle;
+ std::string mAccountHandle;
+};
#endif //LL_VIVOX_VOICE_CLIENT_H