public interface SipStackExt extends SipStack
Modifier and Type | Method and Description |
---|---|
AuthenticationHelper |
getAuthenticationHelper(AccountManager accountManager,
HeaderFactory headerFactory)
Get the authentication helper.
|
Collection<Dialog> |
getDialogs()
Get the collection of dialogs currently in the Dialog table.
|
Dialog |
getJoinDialog(JoinHeader joinHeader)
Get the dialog in the Join header.
|
SocketAddress |
getLocalAddressForTcpDst(InetAddress dst,
int dstPort,
InetAddress localAddress,
int localPort)
Creates and binds, if necessary, a TCP socket connected to the specified
destination address and port and then returns its local address.
|
SocketAddress |
getLocalAddressForTlsDst(InetAddress dst,
int dstPort,
InetAddress localAddress)
Creates and binds, if necessary, a TLS socket connected to the specified
destination address and port and then returns its local address.
|
Dialog |
getReplacesDialog(ReplacesHeader replacesHeader)
Get the ReferedTo dialog in the Replaces header.
|
AuthenticationHelper |
getSecureAuthenticationHelper(SecureAccountManager accountManager,
HeaderFactory headerFactory)
Get the authentication helper.
|
void |
setAddressResolver(AddressResolver addressResolver)
Set the address resolution interface.
|
void |
setEnabledCipherSuites(String[] newCipherSuites)
Set the list of cipher suites supported by the stack.
|
createListeningPoint, createListeningPoint, createSipProvider, deleteListeningPoint, deleteSipProvider, getIPAddress, getListeningPoints, getRouter, getSipProviders, getStackName, isRetransmissionFilterActive, start, stop
Collection<Dialog> getDialogs()
Dialog getReplacesDialog(ReplacesHeader replacesHeader)
null
otherwiseAuthenticationHelper getAuthenticationHelper(AccountManager accountManager, HeaderFactory headerFactory)
accountManager
- -- account manager (for fetching credentials).headerFactory
- -- header factory.AuthenticationHelper getSecureAuthenticationHelper(SecureAccountManager accountManager, HeaderFactory headerFactory)
accountManager
- -- account manager (for fetching credentials).headerFactory
- -- header factory.void setAddressResolver(AddressResolver addressResolver)
addressResolver
- -- the address resolver to set.Dialog getJoinDialog(JoinHeader joinHeader)
null
otherwisevoid setEnabledCipherSuites(String[] newCipherSuites)
newCipherSuites
- -- The new set of ciphers to support.SocketAddress getLocalAddressForTcpDst(InetAddress dst, int dstPort, InetAddress localAddress, int localPort) throws IOException
dst
- the destination address that the socket would need to connect
to.dstPort
- the port number that the connection would be established
with.localAddress
- the address that we would like to bind on
(null for the "any" address).localPort
- the port that we'd like our socket to bind to (0 for a
random port).IOException
- if we fail binding the socketSocketAddress getLocalAddressForTlsDst(InetAddress dst, int dstPort, InetAddress localAddress) throws IOException
dst
- the destination address that the socket would need to connect
to.dstPort
- the port number that the connection would be established
with.localAddress
- the address that we would like to bind on
(null for the "any" address).IOException
- if we fail binding the socketCopyright © 2018. All Rights Reserved.