16 #ifndef ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_CONNECTIONOBSERVER_H_ 17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_CONNECTIONOBSERVER_H_ 20 #include <condition_variable> 27 namespace sampleApplications {
28 namespace ipcServerSampleApp {
59 const std::chrono::seconds duration = std::chrono::seconds(20));
70 const std::chrono::seconds duration = std::chrono::seconds(20));
77 std::condition_variable m_trigger;
90 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_CONNECTIONOBSERVER_H_ ChangedReason
Definition: ConnectionStatusObserverInterface.h:50
Definition: ConnectionObserver.h:33
State
The enum State describes the state of authorization.
Definition: AuthObserverInterface.h:34
Definition: ConnectionStatusObserverInterface.h:31
bool waitFor(const avsCommon::sdkInterfaces::AuthObserverInterface::State authState, const std::chrono::seconds duration=std::chrono::seconds(20))
Definition: AuthObserverInterface.h:31
void onAuthStateChange(avsCommon::sdkInterfaces::AuthObserverInterface::State newState, avsCommon::sdkInterfaces::AuthObserverInterface::Error error) override
Error
The enum Error encodes possible errors which may occur when changing state.
Definition: AuthObserverInterface.h:48
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void onConnectionStatusChanged(const avsCommon::sdkInterfaces::ConnectionStatusObserverInterface::Status status, const avsCommon::sdkInterfaces::ConnectionStatusObserverInterface::ChangedReason reason) override
Status
Definition: ConnectionStatusObserverInterface.h:36