|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SipStackExt
SIP Stack extensions to be added to the next spec revision. Only these may be safely used in the interim between now and the next release. SipStackImpl implements this interface.
Method Summary | |
---|---|
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. |
Dialog |
getReplacesDialog(ReplacesHeader replacesHeader)
Get the ReferedTo dialog in the Replaces header. |
AuthenticationHelper |
getSecureAuthenticationHelper(SecureAccountManager accountManager,
HeaderFactory headerFactory)
Get the authentication helper. |
SocketAddress |
obtainLocalAddress(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. |
void |
setAddressResolver(AddressResolver addressResolver)
Set the address resolution interface. |
void |
setEnabledCipherSuites(String[] newCipherSuites)
Set the list of cipher suites supported by the stack. |
Methods inherited from interface javax.sip.SipStack |
---|
createListeningPoint, createListeningPoint, createSipProvider, deleteListeningPoint, deleteSipProvider, getIPAddress, getListeningPoints, getRouter, getSipProviders, getStackName, isRetransmissionFilterActive, start, stop |
Method Detail |
---|
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)
String[]
- The new set of ciphers to support.SocketAddress obtainLocalAddress(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
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |