1 package javax.sip; 2 3 import java.util.Collection; 4 import java.util.Iterator; 5 import javax.sip.address.Router; 6 7 public interface SipStack { 8 /** 9 * Deprecated. Use {@link #createListeningPoint(String, int, String)} 10 * instead. 11 */ createListeningPoint(int port, String transport)12 ListeningPoint createListeningPoint(int port, String transport) 13 throws TransportNotSupportedException, InvalidArgumentException; createListeningPoint(String ipAddress, int port, String transport)14 ListeningPoint createListeningPoint(String ipAddress, int port, 15 String transport) throws TransportNotSupportedException, 16 InvalidArgumentException; deleteListeningPoint(ListeningPoint listeningPoint)17 void deleteListeningPoint(ListeningPoint listeningPoint) 18 throws ObjectInUseException; 19 createSipProvider(ListeningPoint listeningPoint)20 SipProvider createSipProvider(ListeningPoint listeningPoint) 21 throws ObjectInUseException; deleteSipProvider(SipProvider sipProvider)22 void deleteSipProvider(SipProvider sipProvider) throws ObjectInUseException; 23 getDialogs()24 Collection getDialogs(); getIPAddress()25 String getIPAddress(); getListeningPoints()26 Iterator getListeningPoints(); getRouter()27 Router getRouter(); getSipProviders()28 Iterator getSipProviders(); getStackName()29 String getStackName(); 30 31 /** 32 * @deprecated 33 * Use {@link ServerTransaction#enableRetransmissionAlerts()} to enable 34 * retransmission alerts instead. 35 */ isRetransmissionFilterActive()36 boolean isRetransmissionFilterActive(); 37 start()38 void start() throws ProviderDoesNotExistException, SipException; stop()39 void stop(); 40 } 41 42