public class DialogCongestionMonitor extends Object implements org.mobicents.commons.congestion.CongestionMonitor
| Modifier and Type | Field and Description |
|---|---|
protected SipStackExtension |
sipStack |
| Constructor and Description |
|---|
DialogCongestionMonitor(SipStackExtension sipStack) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCongestionListener(org.mobicents.commons.congestion.CongestionListener listener) |
long |
getBackToNormalDialogsThreshold() |
long |
getDialogsThreshold() |
String |
getSource() |
void |
monitor() |
void |
removeCongestionListener(org.mobicents.commons.congestion.CongestionListener listener) |
void |
setBackToNormalDialogsThreshold(long backToNormalDialogsThreshold) |
void |
setDialogsThreshold(long DialogsThreshold) |
protected SipStackExtension sipStack
public DialogCongestionMonitor(SipStackExtension sipStack)
public void monitor()
monitor in interface org.mobicents.commons.congestion.CongestionMonitorpublic void addCongestionListener(org.mobicents.commons.congestion.CongestionListener listener)
addCongestionListener in interface org.mobicents.commons.congestion.CongestionMonitorpublic void removeCongestionListener(org.mobicents.commons.congestion.CongestionListener listener)
removeCongestionListener in interface org.mobicents.commons.congestion.CongestionMonitorpublic String getSource()
getSource in interface org.mobicents.commons.congestion.CongestionMonitorpublic long getDialogsThreshold()
public void setDialogsThreshold(long DialogsThreshold)
DialogsThreshold - the DialogsThreshold to setpublic long getBackToNormalDialogsThreshold()
public void setBackToNormalDialogsThreshold(long backToNormalDialogsThreshold)
backToNormalDialogsThreshold - the backToNormalDialogsThreshold to setCopyright © 2016. All Rights Reserved.