public interface TransactionExt extends Transaction
Modifier and Type | Method and Description |
---|---|
List<String> |
extractCertIdentities()
Extract identities from certificates exchanged over TLS, based on guidelines
from draft-ietf-sip-domain-certs-04.
|
String |
getCipherSuite()
Return the Cipher Suite that was used for the SSL handshake.
|
String |
getHost()
return the ip address on which this message was initially received
|
Certificate[] |
getLocalCertificates()
Get the certificate(s) that were sent to the peer during handshaking.
|
String |
getPeerAddress()
Returns the IP address of the upstream/downstream hop from which this message was initially received
|
Certificate[] |
getPeerCertificates() |
int |
getPeerPort()
Returns the port of the upstream/downstream hop from which this message was initially received
|
int |
getPort()
return the port on which this message was initially received
|
ReleaseReferencesStrategy |
getReleaseReferencesStrategy()
retrieve the value of release references to know if the stack performs optimizations
on cleanup to save on memory
|
SipProvider |
getSipProvider()
Get the Sip Provider associated with this transaction
|
int |
getTimerD()
Sets the value of Timer D (in ms)
|
int |
getTimerT2()
Retrieve the value of Timer T2 (in ms)
|
int |
getTimerT4()
Retrieve the value of Timer T4 (in ms)
|
String |
getTransport()
Returns the name of the protocol with which this message was initially received
|
void |
setReleaseReferencesStrategy(ReleaseReferencesStrategy releaseReferenceStrategy)
If set to true it will release all references that it no longer needs.
|
void |
setTimerD(int interval)
Sets the value of Timer D (in ms)
|
void |
setTimerT2(int interval)
Sets the value of Timer T2 (in ms)
|
void |
setTimerT4(int interval)
Sets the value of Timer T4 (in ms)
|
getApplicationData, getBranchId, getDialog, getRequest, getRetransmitTimer, getState, setApplicationData, setRetransmitTimer, terminate
SipProvider getSipProvider()
String getPeerAddress()
int getPeerPort()
String getTransport()
String getHost()
int getPort()
String getCipherSuite() throws UnsupportedOperationException
UnsupportedOperationException
Certificate[] getLocalCertificates() throws UnsupportedOperationException
UnsupportedOperationException
Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException
List<String> extractCertIdentities() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException
ReleaseReferencesStrategy getReleaseReferencesStrategy()
void setReleaseReferencesStrategy(ReleaseReferencesStrategy releaseReferenceStrategy)
releaseReferences
- int getTimerT2()
void setTimerT2(int interval)
interval
- value of Timer T2 (in ms)int getTimerT4()
void setTimerT4(int interval)
interval
- value of Timer T4 (in ms)int getTimerD()
interval
- value of Timer D (in ms)void setTimerD(int interval)
interval
- value of Timer D (in ms)Copyright © 2018. All Rights Reserved.