Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/opencloud/slee/services/sip/common/SipServerConfig.java


1   package com.opencloud.slee.services.sip.common;
2   
3   
4   import javax.sip.SipProvider;
5   import javax.sip.message.MessageFactory;
6   import javax.sip.header.HeaderFactory;
7   import javax.sip.address.AddressFactory;
8   
9   import com.opencloud.slee.services.sip.registrar.LocationService;
10  
11  /** 
12   * Interface to common SIP server parameters
13   */
14  public interface SipServerConfig {
15  
16      /**
17       * Gets the SipProvider object for sending requests etc.
18       */
19      public SipProvider getSipProvider();
20  
21      /**
22       * Gets the AddressFactory object.
23       */
24      public AddressFactory getAddressFactory();
25  
26      /**
27       * Gets the HeaderFactory object.
28       */
29      public HeaderFactory getHeaderFactory();
30  
31      /**
32       * Gets the MessageFactory object.
33       */
34      public MessageFactory getMessageFactory();
35  
36      /**
37       * Array of domain names that this server is authoritative for.
38       */
39      public String[] getLocalDomainNames();
40  
41      /**
42       * URI schemes supported by this server
43       */
44      public String[] getSupportedURISchemes();
45  
46      /**
47       * Location service used by this server.
48       */
49      public LocationService getLocationService();    
50  
51      /**
52       * This server's host name
53       */
54      public String getHostname();
55  
56      /**
57       * Port used by this SIP server (default 5060)
58       */
59      public int getPort();
60  
61      /**
62       * Transport used for SIP messages (default UDP)
63       */
64      public String getTransport();    
65  
66      /**
67       * Minimum expiry time for registrations
68       */
69      public long getSipRegistrationMinExpires();
70  
71      /**
72       * Maximum expiry time for registrations
73       */
74      public long getSipRegistrationMaxExpires();    
75      
76  }