Added extra method to check if any MSU transfer is configured, even if silent.

git-svn-id: http://voip.null.ro/svn/yate@4816 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2012-01-23 16:07:18 +00:00
parent 0515c70e4f
commit 4013e12fd9
1 changed files with 9 additions and 2 deletions

View File

@ -6671,12 +6671,19 @@ public:
SS7MSU::Services part, unsigned char cause, const SS7Label& label, int sls);
/**
* Check if the transfer function is enabled
* @return True if acting as a STP
* Check if the transfer function and STP management is enabled
* @return True if acting as a full STP
*/
inline bool transfer() const
{ return m_transfer; }
/**
* Check if the messages are transferred even if STP management may be disabled
* @return True if messages are transferred between networks
*/
inline bool transferring() const
{ return m_transfer || m_transferSilent; }
/**
* Check if the MTP is restarting
* @return True if MTP restart procedure is in progress