|
Contents |
||
Overview Description |
||
Overview |
||
The services Connections may be used, for example, by a remote bridge. |
||
Description |
||
The acceptor-service (or server) allows listening on a resource for clients to connect. The connector-service (or client) allows for connecting to a listening resource. Both services support socket and pipe connections. Pipes work only on the same computer, as they use shared memory for data transfer. Sockets work in a tcp/ip network environment. The string, for the connect/accept calls, has the following format:
for example:
The connector component may be reused to initiate connections to multiple processes. The acceptor component may only be used to listen on one resource. Subsequent calls to the accept method must pass the same connectiondescription string. |
||
|
||
Adding connection types |
||
You can add your own connection type by implementing a service with the name com.sun.star.connection.Connector.<connection-type> and com.sun.star.connection.Acceptor.<acceptor-type> , where connection-type is the name to be used, instead of socket. | ||
Author: Jörg Budischewski ($Date: 2002/02/14 12:17:27 $) |
||
|