1 /*
2  * Copyright (C) 2020 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.libraries.rcs.simpleclient.protocol.sip;
18 
19 import java.util.List;
20 
21 public interface SipSessionConfiguration {
getVersion()22     public long getVersion();
23 
getOutboundProxyAddr()24     String getOutboundProxyAddr();
25 
getOutboundProxyPort()26     int getOutboundProxyPort();
27 
getLocalIpAddress()28     String getLocalIpAddress();
29 
getLocalPort()30     int getLocalPort();
31 
getSipTransport()32     String getSipTransport();
33 
getPublicUserIdentity()34     String getPublicUserIdentity();
35 
getDomain()36     String getDomain();
37 
getAssociatedUris()38     List<String> getAssociatedUris();
39 
getSecurityVerifyHeader()40     String getSecurityVerifyHeader();
41 
getServiceRouteHeaders()42     List<String> getServiceRouteHeaders();
43 
getContactUser()44     String getContactUser();
45 
getImei()46     String getImei();
47 
getPaniHeader()48     String getPaniHeader();
49 
getPlaniHeader()50     String getPlaniHeader();
51 
52     /**
53      * @return the user agent header from the  ims config.
54      */
getUserAgentHeader()55     String getUserAgentHeader();
56 
getMaxPayloadSizeOnUdp()57     default int getMaxPayloadSizeOnUdp() {
58         return 0;
59     }
60 }
61