org.mobicents.javax.servlet.sip
Interface ProxyBranchExt


public interface ProxyBranchExt

Interface Extension that adds extra features to the JSR 289 ProxyBranch interface.
It adds the following capabilities :

Since:
1.3
Author:
jean.deruelle@gmail.com

Method Summary
 int getProxyBranch1xxTimeout()
          Returns the current value of the search 1xx timeout associated with this ProxyBranch object.
 void setProxyBranch1xxTimeout(int timeout)
          Sets the search timeout value for this ProxyBranch object for 1xx responses.
 

Method Detail

setProxyBranch1xxTimeout

void setProxyBranch1xxTimeout(int timeout)
Sets the search timeout value for this ProxyBranch object for 1xx responses. This is the amount of time, in seconds, the container waits for an informational response when proxying on this branch.
This method can be used to override the default timeout the branch obtains from the ProxyExt.setProxy1xxTimeout(int) object

Parameters:
timeout - new search 1xx timeout in seconds
Throws:
IllegalArgumentException - if this value cannot be set by the container. Either it is too high, too low, negative or greater than the overall proxy 1xx timeout value in parallel case.
Since:
1.3

getProxyBranch1xxTimeout

int getProxyBranch1xxTimeout()
Returns the current value of the search 1xx timeout associated with this ProxyBranch object. If this value is not explicitly set using the setProxyBranch1xxTimeout(int) then the value is inherited from the Proxy setting. The current value of the overall proxy 1xx timeout value. This is measured in seconds.

Returns:
the search timeout value in seconds.
Since:
1.3


Copyright © 2010. All Rights Reserved.