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:
parent
36715005b3
commit
659f46cf47
|
@ -472,6 +472,13 @@ public:
|
||||||
inline bool flag(int mask) const
|
inline bool flag(int mask) const
|
||||||
{ return 0 != (m_flags & mask); }
|
{ 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
|
* Connect the stream. Send stream start tag on success
|
||||||
* This method is thread safe
|
* This method is thread safe
|
||||||
|
@ -773,13 +780,6 @@ protected:
|
||||||
return o ? static_cast<JBEvent*>(o->get()) : 0;
|
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
|
* Stream's name
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue