You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.3 KiB
42 lines
1.3 KiB
package javax.sip;
|
|
|
|
import java.util.Collection;
|
|
import java.util.Iterator;
|
|
import javax.sip.address.Router;
|
|
|
|
public interface SipStack {
|
|
/**
|
|
* Deprecated. Use {@link #createListeningPoint(String, int, String)}
|
|
* instead.
|
|
*/
|
|
ListeningPoint createListeningPoint(int port, String transport)
|
|
throws TransportNotSupportedException, InvalidArgumentException;
|
|
ListeningPoint createListeningPoint(String ipAddress, int port,
|
|
String transport) throws TransportNotSupportedException,
|
|
InvalidArgumentException;
|
|
void deleteListeningPoint(ListeningPoint listeningPoint)
|
|
throws ObjectInUseException;
|
|
|
|
SipProvider createSipProvider(ListeningPoint listeningPoint)
|
|
throws ObjectInUseException;
|
|
void deleteSipProvider(SipProvider sipProvider) throws ObjectInUseException;
|
|
|
|
Collection getDialogs();
|
|
String getIPAddress();
|
|
Iterator getListeningPoints();
|
|
Router getRouter();
|
|
Iterator getSipProviders();
|
|
String getStackName();
|
|
|
|
/**
|
|
* @deprecated
|
|
* Use {@link ServerTransaction#enableRetransmissionAlerts()} to enable
|
|
* retransmission alerts instead.
|
|
*/
|
|
boolean isRetransmissionFilterActive();
|
|
|
|
void start() throws ProviderDoesNotExistException, SipException;
|
|
void stop();
|
|
}
|
|
|