• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  package javax.sip;
2  
3  import java.io.IOException;
4  import java.text.ParseException;
5  import javax.sip.header.ContactHeader;
6  
7  public interface ListeningPoint extends Cloneable {
8      String TCP = "TCP";
9      String UDP = "UDP";
10      String SCTP = "SCTP";
11      String TLS = "TLS";
12      int PORT_5060 = 5060;
13      int PORT_5061 = 5061;
14  
getIPAddress()15      String getIPAddress();
getPort()16      int getPort();
getTransport()17      String getTransport();
18  
getSentBy()19      String getSentBy();
setSentBy(String sentBy)20      void setSentBy(String sentBy) throws ParseException;
21  
createContactHeader()22      ContactHeader createContactHeader();
23  
sendHeartbeat(String s, int i)24      void sendHeartbeat(String s, int i) throws IOException;
25  }
26  
27