public class SipProxy extends java.lang.Object implements javax.servlet.sip.Proxy, ServerTransactionListener, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
__maxForwards |
static int |
__timerC |
static int |
DEFAULT_TIMER_C |
| Constructor and Description |
|---|
SipProxy(SipRequest request) |
| Modifier and Type | Method and Description |
|---|---|
protected org.cipango.server.SipProxy.Branch |
addBranch(javax.servlet.sip.URI uri) |
protected org.cipango.server.SipProxy.Branch |
addTarget(javax.servlet.sip.URI uri) |
void |
cancel() |
void |
cancel(java.lang.String[] protocol,
int[] reasonCode,
java.lang.String[] reasonText) |
java.util.List<javax.servlet.sip.ProxyBranch> |
createProxyBranches(java.util.List<? extends javax.servlet.sip.URI> list) |
protected void |
doCancel(java.lang.String[] protocol,
int[] reasonCode,
java.lang.String[] reasonText) |
boolean |
getAddToPath() |
boolean |
getNoCancel() |
javax.servlet.sip.SipServletRequest |
getOriginalRequest() |
boolean |
getParallel() |
javax.servlet.sip.SipURI |
getPathURI() |
javax.servlet.sip.ProxyBranch |
getProxyBranch(javax.servlet.sip.URI uri) |
java.util.List<javax.servlet.sip.ProxyBranch> |
getProxyBranches() |
int |
getProxyTimeout() |
boolean |
getRecordRoute() |
javax.servlet.sip.SipURI |
getRecordRouteURI() |
boolean |
getRecurse() |
int |
getSequentialSearchTimeout()
Deprecated.
|
boolean |
getStateful()
Deprecated.
|
boolean |
getSupervised() |
void |
handleCancel(ServerTransaction tx,
SipRequest cancel) |
void |
proxyTo(java.util.List<? extends javax.servlet.sip.URI> targets) |
void |
proxyTo(javax.servlet.sip.URI uri) |
void |
setAddToPath(boolean addToPath) |
void |
setNoCancel(boolean b) |
void |
setOutboundInterface(java.net.InetAddress address) |
void |
setOutboundInterface(java.net.InetSocketAddress address) |
void |
setParallel(boolean parallel) |
void |
setProxyTimeout(int seconds) |
void |
setRecordRoute(boolean recordRoute) |
void |
setRecurse(boolean recurse) |
void |
setSequentialSearchTimeout(int seconds)
Deprecated.
|
void |
setStateful(boolean b)
Deprecated.
|
void |
setSupervised(boolean supervised) |
void |
startProxy() |
void |
transactionTerminated(Transaction transaction) |
public static final int DEFAULT_TIMER_C
public static int __maxForwards
public static int __timerC
public SipProxy(SipRequest request) throws javax.servlet.sip.TooManyHopsException
javax.servlet.sip.TooManyHopsExceptionpublic void cancel()
cancel in interface javax.servlet.sip.ProxyProxy.cancel()public void cancel(java.lang.String[] protocol,
int[] reasonCode,
java.lang.String[] reasonText)
cancel in interface javax.servlet.sip.ProxyProxy.cancel(String[], int[], String[])protected void doCancel(java.lang.String[] protocol,
int[] reasonCode,
java.lang.String[] reasonText)
public java.util.List<javax.servlet.sip.ProxyBranch> createProxyBranches(java.util.List<? extends javax.servlet.sip.URI> list)
createProxyBranches in interface javax.servlet.sip.ProxyProxy.createProxyBranches(List)public boolean getAddToPath()
getAddToPath in interface javax.servlet.sip.ProxyProxy.getAddToPath()public boolean getNoCancel()
getNoCancel in interface javax.servlet.sip.ProxyProxy.getNoCancel()public javax.servlet.sip.SipServletRequest getOriginalRequest()
getOriginalRequest in interface javax.servlet.sip.ProxyProxy.getOriginalRequest()public boolean getParallel()
getParallel in interface javax.servlet.sip.ProxyProxy.getParallel()public javax.servlet.sip.SipURI getPathURI()
getPathURI in interface javax.servlet.sip.ProxyProxy.getPathURI()public javax.servlet.sip.ProxyBranch getProxyBranch(javax.servlet.sip.URI uri)
getProxyBranch in interface javax.servlet.sip.ProxyProxy.getProxyBranch(URI)public java.util.List<javax.servlet.sip.ProxyBranch> getProxyBranches()
getProxyBranches in interface javax.servlet.sip.ProxyProxy.getProxyBranches()public int getProxyTimeout()
getProxyTimeout in interface javax.servlet.sip.ProxyProxy.getProxyTimeout()public boolean getRecordRoute()
getRecordRoute in interface javax.servlet.sip.ProxyProxy.getRecordRoute()public javax.servlet.sip.SipURI getRecordRouteURI()
getRecordRouteURI in interface javax.servlet.sip.ProxyProxy.getRecordRouteURI()public boolean getRecurse()
getRecurse in interface javax.servlet.sip.ProxyProxy.getRecurse()public int getSequentialSearchTimeout()
getSequentialSearchTimeout in interface javax.servlet.sip.ProxyProxy.getSequentialSearchTimeout()public boolean getStateful()
getStateful in interface javax.servlet.sip.ProxyProxy.getStateful()public boolean getSupervised()
getSupervised in interface javax.servlet.sip.ProxyProxy.getSupervised()public void proxyTo(java.util.List<? extends javax.servlet.sip.URI> targets)
proxyTo in interface javax.servlet.sip.ProxyProxy.proxyTo(List)public void proxyTo(javax.servlet.sip.URI uri)
proxyTo in interface javax.servlet.sip.ProxyProxy.proxyTo(javax.servlet.sip.URI)public void setAddToPath(boolean addToPath)
setAddToPath in interface javax.servlet.sip.ProxyProxy.setAddToPath(boolean)public void setNoCancel(boolean b)
setNoCancel in interface javax.servlet.sip.ProxyProxy.setNoCancel(boolean)public void setOutboundInterface(java.net.InetAddress address)
setOutboundInterface in interface javax.servlet.sip.ProxyProxy.setOutboundInterface(InetAddress)public void setOutboundInterface(java.net.InetSocketAddress address)
setOutboundInterface in interface javax.servlet.sip.ProxyProxy.setOutboundInterface(InetSocketAddress)public void setParallel(boolean parallel)
setParallel in interface javax.servlet.sip.ProxyProxy.setParallel(boolean)public void setProxyTimeout(int seconds)
setProxyTimeout in interface javax.servlet.sip.ProxyProxy.setProxyTimeout(int)public void setRecordRoute(boolean recordRoute)
setRecordRoute in interface javax.servlet.sip.ProxyProxy.setRecordRoute(boolean)public void setRecurse(boolean recurse)
setRecurse in interface javax.servlet.sip.ProxyProxy.setRecurse(boolean)public void setSequentialSearchTimeout(int seconds)
setSequentialSearchTimeout in interface javax.servlet.sip.ProxyProxy.setSequentialSearchTimeout(int)public void setStateful(boolean b)
setStateful in interface javax.servlet.sip.ProxyProxy.setStateful(boolean)public void setSupervised(boolean supervised)
setSupervised in interface javax.servlet.sip.ProxyProxy.setSupervised(boolean)public void startProxy()
startProxy in interface javax.servlet.sip.ProxyProxy.startProxy()protected org.cipango.server.SipProxy.Branch addTarget(javax.servlet.sip.URI uri)
protected org.cipango.server.SipProxy.Branch addBranch(javax.servlet.sip.URI uri)
public void handleCancel(ServerTransaction tx, SipRequest cancel)
handleCancel in interface ServerTransactionListenerpublic void transactionTerminated(Transaction transaction)
transactionTerminated in interface TransactionListenerCopyright © 2015. All Rights Reserved.