Added convenience method to send an event through its call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2312 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
95e005df49
commit
55df6c0dd8
|
@ -1210,6 +1210,13 @@ public:
|
|||
static inline const char* typeName(Type t)
|
||||
{ return lookup(t,s_types,0); }
|
||||
|
||||
/**
|
||||
* Send this event through the call that generated it
|
||||
* @return True if there was a call and the operation succedded
|
||||
*/
|
||||
inline bool sendEvent()
|
||||
{ return m_call && m_call->sendEvent(this); }
|
||||
|
||||
private:
|
||||
Type m_type;
|
||||
SignallingMessage* m_message;
|
||||
|
|
Loading…
Reference in New Issue