xref: /trunk/main/udkapi/com/sun/star/bridge/XBridge.idl (revision ffd38472365e95f6a578737bc9a5eb0fac624a86)
1408a4873SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3408a4873SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4408a4873SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5408a4873SAndrew Rist * distributed with this work for additional information
6408a4873SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7408a4873SAndrew Rist * to you under the Apache License, Version 2.0 (the
8408a4873SAndrew Rist * "License"); you may not use this file except in compliance
9408a4873SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11408a4873SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13408a4873SAndrew Rist * Unless required by applicable law or agreed to in writing,
14408a4873SAndrew Rist * software distributed under the License is distributed on an
15408a4873SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16408a4873SAndrew Rist * KIND, either express or implied.  See the License for the
17408a4873SAndrew Rist * specific language governing permissions and limitations
18408a4873SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20408a4873SAndrew Rist *************************************************************/
21408a4873SAndrew Rist
22408a4873SAndrew Rist
23cdf0e10cSrcweir#ifndef _COM_SUN_STAR_BRIDGE_XBRIDGE_IDL_
24cdf0e10cSrcweir#define _COM_SUN_STAR_BRIDGE_XBRIDGE_IDL_
25cdf0e10cSrcweir
26cdf0e10cSrcweir#include <com/sun/star/uno/XInterface.idl>
27cdf0e10cSrcweir
28cdf0e10cSrcweirmodule com {  module sun {  module star {  module bridge {
29cdf0e10cSrcweir
30cdf0e10cSrcweir/** main interface for an interprocess bridge.
31cdf0e10cSrcweir */
32cdf0e10cSrcweirpublished interface XBridge: com::sun::star::uno::XInterface
33cdf0e10cSrcweir{
34cdf0e10cSrcweir    /** tries to get an interface from the remote that is known by this name.
35cdf0e10cSrcweir
36cdf0e10cSrcweir        <p>In general, this method is called once to get the initial object from the
37cdf0e10cSrcweir        remote, but it is allowed to call the method multiple times. </p>
38cdf0e10cSrcweir
39cdf0e10cSrcweir        @param sInstanceName The name of the object, that shall be retrieved from the
40cdf0e10cSrcweir                             remote process. The call is delegated to
41cdf0e10cSrcweir                             com.sun.star.bridge.XInstanceProvider.getInstance() in the
42cdf0e10cSrcweir                             remote process.
43*361c8c00STsutomu Uchino        @see com::sun::star::bridge::XInstanceProvider
44cdf0e10cSrcweir     */
45cdf0e10cSrcweir    com::sun::star::uno::XInterface getInstance( [in] string sInstanceName );
46cdf0e10cSrcweir
47cdf0e10cSrcweir
48cdf0e10cSrcweir    /** name that the bridge got when it was created.
49cdf0e10cSrcweir     */
50cdf0e10cSrcweir    string getName();
51cdf0e10cSrcweir
52cdf0e10cSrcweir
53cdf0e10cSrcweir    /** a unique descriptive string: protocol + ":" + XConnection.getDescription()
54cdf0e10cSrcweir     */
55cdf0e10cSrcweir    string getDescription();
56cdf0e10cSrcweir};
57cdf0e10cSrcweir
58cdf0e10cSrcweir};};};};
59cdf0e10cSrcweir
60cdf0e10cSrcweir#endif
61