public XComponentContext connect ( String host , int port ) throws BootstrapException { String unoConnectString = "uno:socket,host=" + host + ",port=" + port + ";urp;StarOffice.ComponentContext" ; return connect ( unoConnectString ) ; }
Connects to an OOo server using the specified host and port for the socket and returns a component context for using the connection to the OOo server .