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)
SIPMessageValve
processRequest
in interface SIPMessageValve
public boolean processResponse(Response response, MessageChannel messageChannel)
SIPMessageValve
processResponse
in interface SIPMessageValve
public void destroy()
SIPMessageValve
destroy
in interface SIPMessageValve
public void init(SipStack stack)
SIPMessageValve
init
in interface SIPMessageValve
Copyright © 2015. All Rights Reserved.