public class CongestionControlMessageValve extends Object implements SIPMessageValve
| Modifier and Type | Field and Description |
|---|---|
protected int |
dropResponseStatus |
protected int |
serverTransactionTableHighwaterMark |
protected SipStackImpl |
sipStack |
| Constructor and Description |
|---|
CongestionControlMessageValve() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
This method is called when the valve is about to be destroyed.
|
void |
init(SipStack stack)
This method is called when the valve is initialized.
|
boolean |
processRequest(SIPRequest request,
MessageChannel messageChannel)
The callback method that is called for every request before any transaction/dialog mapping
or allocation occur.
|
boolean |
processResponse(Response response,
MessageChannel messageChannel)
The callback method that is called for every response before any transaction/dialog mapping
or allocation occur.
|
protected SipStackImpl sipStack
protected int serverTransactionTableHighwaterMark
protected int dropResponseStatus
public boolean processRequest(SIPRequest request, MessageChannel messageChannel)
SIPMessageValveprocessRequest in interface SIPMessageValvepublic boolean processResponse(Response response, MessageChannel messageChannel)
SIPMessageValveprocessResponse in interface SIPMessageValvepublic void destroy()
SIPMessageValvedestroy in interface SIPMessageValvepublic void init(SipStack stack)
SIPMessageValveinit in interface SIPMessageValveCopyright © 2018. All Rights Reserved.