JBStream::streamMutex() is now public.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1972 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2008-05-05 11:26:29 +00:00
parent 36715005b3
commit 659f46cf47
1 changed files with 7 additions and 7 deletions

View File

@ -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<JBEvent*>(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
*/