author | stechong |
Wed, 20 Oct 2010 11:19:31 -0500 | |
changeset 2165 | 2a7b5eccb0bc |
parent 164 | 88b7eb94b003 |
permissions | -rw-r--r-- |
164
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
1 |
/* |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
3 |
* All rights reserved. |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
8 |
* |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
9 |
* Initial Contributors: |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
11 |
* |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
12 |
* Contributors: |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
13 |
* |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
14 |
* Description: |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
15 |
* |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
16 |
*/ |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
17 |
|
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
18 |
package com.nokia.carbide.remoteconnections.interfaces; |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
19 |
|
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
20 |
import org.eclipse.core.runtime.IAdaptable; |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
21 |
|
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
22 |
import java.util.Map; |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
23 |
|
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
24 |
/** |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
25 |
* An extended interface for remote connections services |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
26 |
*/ |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
27 |
public interface IService2 extends IService, IAdaptable { |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
28 |
|
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
29 |
/** |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
30 |
* Return whether this service uses the Device OS setting in the connection edit page |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
31 |
* @return boolean |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
32 |
*/ |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
33 |
boolean wantsDeviceOS(); |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
34 |
|
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
35 |
/** |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
36 |
* Return a map of service specific default settings |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
37 |
* @return Map |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
38 |
*/ |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
39 |
Map<String, String> getDefaults(); |
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
40 |
|
88b7eb94b003
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.
dadubrow
parents:
diff
changeset
|
41 |
} |