Package com.sun.star.bridge

Examples of com.sun.star.bridge.XConnectionBroker


  static public void main(String args[]) throws IOException, com.sun.star.uno.Exception {
    com.sun.star.comp.servicemanager.ServiceManager smgr = new com.sun.star.comp.servicemanager.ServiceManager();
    smgr.addFactories(neededServices, null);

    XConnectionBroker connectionBroker = (XConnectionBroker)smgr.createInstance("com.sun.star.bridge.ConnectionBroker");

    if(connectionBroker.acceptConnections("socket:5001", new MyConnectCallback())) {
      System.in.read();

      connectionBroker.stopAccepting();
    }

    ThreadPool.reset();
    UnoRuntime.reset();
  }
View Full Code Here

TOP

Related Classes of com.sun.star.bridge.XConnectionBroker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.