- Timestamp:
- 09/13/11 22:37:11 (13 years ago)
- Location:
- trunk/modelicaml/org.openmodelica.modelicaml.simulation/src/org
- Files:
-
- 11 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modelicaml/org.openmodelica.modelicaml.simulation/src/org/modelica/OMCProxy.java
r850 r947 380 380 /* Can't remember why this is needed. But it is. */ 381 381 String args[] = {null}; 382 383 /* set the CORBA read timeout to a larger value as we send huge 384 ammounts of data 385 * from OMC to MDT 386 */ 387 System.setProperty("com.sun.CORBA.transport.ORBTCPReadTimeouts", "1:60000:300:1"); 382 388 383 389 ORB orb; 384 orb = ORB.init(args, null); 385 390 orb = ORB.init(args, null); 391 386 392 /* Convert string to object. */ 387 org.omg.CORBA.Object obj = orb.string_to_object(stringifiedObjectReference); 388 logOMCStatus("Corba IOR:" + stringifiedObjectReference); 393 org.omg.CORBA.Object obj = 394 orb.string_to_object(stringifiedObjectReference); 395 389 396 /* Convert object to OmcCommunication object. */ 390 397 omcc = OmcCommunicationHelper.narrow(obj); 398 391 399 } 392 400
Note: See TracChangeset
for help on using the changeset viewer.