Files
Chamilo/main/inc/lib/ppt2png/DokeosSocketOfficeConnection.java
Xes 73154ae174
Behat tests 1.11.x 🐞 / PHP 7.4 Test on ubuntu-latest (push) Canceled after 0s
PHP-CS-Fixer / composer_install (7.4) (push) Canceled after 0s
Chamilo 1.11.40 (ZIP oficial v1.11.40)
Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip
sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439
Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
2026-08-06 17:59:45 +02:00

66 lines
1.7 KiB
Java

//
//DokeosConverter using JODConverter - Java OpenDocument Converter
//Eric Marguin <e.marguin@elixir-interactive.com>
//
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//License as published by the Free Software Foundation; either
//version 2.1 of the License, or (at your option) any later version.
//
//This library is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
//Lesser General Public License for more details.
//http://www.gnu.org/copyleft/lesser.html
//
import com.sun.star.bridge.XBridge;
import com.sun.star.lang.XMultiComponentFactory;
import com.sun.star.uno.XComponentContext;
public class DokeosSocketOfficeConnection extends AbstractDokeosOpenOfficeConnection {
public static final String DEFAULT_HOST = "localhost";
public static final int DEFAULT_PORT = 8100;
public DokeosSocketOfficeConnection() {
this(DEFAULT_HOST, DEFAULT_PORT);
}
public DokeosSocketOfficeConnection(int port) {
this(DEFAULT_HOST, port);
}
public DokeosSocketOfficeConnection(String host, int port) {
super("socket,host=" + host + ",port=" + port + ",tcpNoDelay=1");
}
public XMultiComponentFactory getServiceManager(){
return serviceManager;
}
public XMultiComponentFactory getRemoteServiceManager(){
return serviceManager;
}
public XBridge getBridge(){
return bridge;
}
public XComponentContext getComponentContext(){
return componentContext;
}
}