public class SipMessageValve extends Object implements SIPMessageValve
| Modifier and Type | Class and Description |
|---|---|
static class |
SipMessageValve.Shootme |
| Constructor and Description |
|---|
SipMessageValve() |
| 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.
|
static void |
main(String[] args) |
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.
|
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 © 2014. All Rights Reserved.