Package com.sun.star.bridge

Examples of com.sun.star.bridge.XConnectionClientSide


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

    XConnectionClientSide xConnectionClientSide = (XConnectionClientSide)smgr.createInstance("com.sun.star.bridge.Connection");

    try {
        if(xConnectionClientSide.connect("socket:localhost:5001", "bad guy", "secret")) {
        Object object = xConnectionClientSide.getRemoteObject();

          doTest(object);

        object = null;
View Full Code Here

TOP

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

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.