Changeset 835 for trunk/modelicaml/org.openmodelica.simulation.core/src
- Timestamp:
- 06/23/11 10:02:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modelicaml/org.openmodelica.simulation.core/src/org/openmodelica/simulation/core/omc/corba/OMCProxy.java
r638 r835 1 1 /* 2 * This file is part of OpenModelica.2 * This file is part of Modelica Development Tooling. 3 3 * 4 * Copyright (c) 1998-CurrentYear, Open Source Modelica Consortium (OSMC), 5 * c/o Linköpings universitet, Department of Computer and Information Science, 6 * SE-58183 Linköping, Sweden. 4 * Copyright (c) 2005, Link�pings universitet, Department of 5 * Computer and Information Science, PELAB 7 6 * 8 7 * All rights reserved. 9 8 * 10 * THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3 LICENSE OR 11 * THIS OSMC PUBLIC LICENSE (OSMC-PL). 12 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE 13 * OF THE OSMC PUBLIC LICENSE OR THE GPL VERSION 3, ACCORDING TO RECIPIENTS CHOICE. 9 * (The new BSD license, see also 10 * http://www.opensource.org/licenses/bsd-license.php) 14 11 * 15 * The OpenModelica software and the Open Source Modelica16 * Consortium (OSMC) Public License (OSMC-PL) are obtained17 * from OSMC, either from the above address,18 * from the URLs: http://www.ida.liu.se/projects/OpenModelica or19 * http://www.openmodelica.org, and in the OpenModelica distribution.20 * GNU version 3 is obtained from: http://www.gnu.org/copyleft/gpl.html.21 12 * 22 * This program is distributed WITHOUT ANY WARRANTY; without 23 * even the implied warranty of MERCHANTABILITY or FITNESS 24 * FOR A PARTICULAR PURPOSE, EXCEPT AS EXPRESSLY SET FORTH 25 * IN THE BY RECIPIENT SELECTED SUBSIDIARY LICENSE CONDITIONS OF OSMC-PL. 13 * Redistribution and use in source and binary forms, with or without 14 * modification, are permitted provided that the following conditions are 15 * met: 26 16 * 27 * See the full OSMC Public License conditions for more details. 17 * * Redistributions of source code must retain the above copyright 18 * notice, this list of conditions and the following disclaimer. 28 19 * 29 * Contributors: 30 * Wladimir Schamai, EADS Innovation Works 2009-2011 31 * Uwe Pohlmann, University of Paderborn 2009-2010 32 * Parham Vasaiely, EADS Innovation Works / Hamburg University of Applied Sciences 2009-2011 20 * * Redistributions in binary form must reproduce the above copyright 21 * notice, this list of conditions and the following disclaimer in 22 * the documentation and/or other materials provided with the 23 * distribution. 24 * 25 * * Neither the name of Link�pings universitet nor the names of its 26 * contributors may be used to endorse or promote products derived from 27 * this software without specific prior written permission. 28 * 29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 30 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 31 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 32 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 33 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 34 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 35 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 36 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 37 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 38 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 40 */ 34 41 … … 42 49 43 50 import org.omg.CORBA.ORB; 51 import org.openmodelica.simulation.core.omc.corba.OmcCommunication; 52 import org.openmodelica.simulation.core.omc.corba.OmcCommunicationHelper; 44 53 45 54 // TODO: Auto-generated Javadoc … … 376 385 String args[] = {null}; 377 386 387 /* set the CORBA read timeout to a larger 388 * value as we send huge ammounts of data from OMC to MDT 389 */ 390 System.setProperty("com.sun.CORBA.transport.ORBTCPReadTimeouts", "1:60000:300:1"); 391 392 378 393 ORB orb; 379 394 orb = ORB.init(args, null);
Note: See TracChangeset
for help on using the changeset viewer.