Stephan Bergmann wrote:
Ramon F Herrera wrote:
(5) connection = xConnector.connect(con);  <-- finally!, there is IPC here

That creates a connection from OOo to OOo.  Probably not what you want.


If that is the case, how come every single client example (except the ultrasimplistic, those that don't care about disconnecting) found in the SDK and elsewhere uses the

   connection = xConnector.connect(con);  // pipe or socket

statement? See, for instance, "Connection Aware *Client*"? (1)

My contention is that in order to make a connection-aware program, the first requirement is to make a socket/pipe IPC or else you will not be able to kill the session/bridge programmatically.

This issue should be clarified, documented and included in the examples.

Why? Because we are sending thousands of potential developers into a blind alley. There should be all kind of red flags:

"Notice: there is no known(2) way to terminate a connection initiated by Bootstrap.bootstrap()"

-Ramon

(1) \examples\Developer's Guide\PorfUNO\InterprocessConn\ConnectionAwareClient.java

(2) programmatic.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to