XConnector interface.
The Connector is a general component, that uses less general
components (like com.sun.star.connection.socketConnector) to
implement its functionality.
com.sun.star.connection.XAcceptor , com.sun.star.connection.XConnection , com.sun.star.connection.XConnector , com.sun.star.comp.loader.JavaLoader
| Modifier and Type | Field and Description |
|---|---|
| public static final String | __serviceName
The name of the service. |
| private boolean | |
| private static final boolean | |
| private final com. |
| Access | Constructor and Description |
|---|---|
| public | Connector(com.
the service factory to use. serviceFactoryConstructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public static com. | Returns: anXSingleServiceFactory for creating the component.the name of the implementation for which a service is
requested. implName, com.the service manager to be used (if needed). multiFactory,the registry key. regKeyReturns a factory for creating the service. |
| public synchronized com. |
| __serviceName | back to summary |
|---|---|
| public static final String __serviceName The name of the service. The
| |
| connected | back to summary |
|---|---|
| private boolean connected | |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| serviceFactory | back to summary |
|---|---|
| private final com. | |
| Connector | back to summary |
|---|---|
| public Connector(com. Constructs a new
| |
| __getServiceFactory | back to summary |
|---|---|
| public static com. Returns a factory for creating the service. This method is called by the
| |
| connect | back to summary |
|---|---|
| public synchronized com. Connects via the given connection type to a waiting server. The connection description has the following format:
| |