diff --git a/libs/yjingle/yatejabber.h b/libs/yjingle/yatejabber.h index e24bebbb..5eeaa124 100644 --- a/libs/yjingle/yatejabber.h +++ b/libs/yjingle/yatejabber.h @@ -472,6 +472,13 @@ public: inline bool flag(int mask) const { return 0 != (m_flags & mask); } + /** + * Get the stream mutex + * @return The stream mutex + */ + inline Mutex* streamMutex() + { return &m_socket.m_streamMutex; } + /** * Connect the stream. Send stream start tag on success * This method is thread safe @@ -773,13 +780,6 @@ protected: return o ? static_cast(o->get()) : 0; } - /** - * Get the stream mutex to be used by descendants - * @return The stream mutex - */ - inline Mutex* streamMutex() - { return &m_socket.m_streamMutex; } - /** * Stream's name */