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