Class TransportFactory
java.lang.Object
org.freedesktop.dbus.connections.transports.TransportFactory
Factory to create connection to DBus using unix socket or TCP.
- Since:
- v3.2.0 - 2019-02-08
- Author:
- hypfvieh
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractTransportcreateTransport(BusAddress _address) Creates a new transport encapsulating connection to a unix socket or TCP socket.static AbstractTransportcreateTransport(BusAddress _address, int _timeout) Creates a new transport encapsulating connection to a unix socket or TCP socket.static StringgenGUID()
-
Method Details
-
createTransport
public static AbstractTransport createTransport(BusAddress _address, int _timeout) throws IOException Creates a new transport encapsulating connection to a unix socket or TCP socket.- Parameters:
_address- Address parameter_timeout- timeout in milliseconds- Returns:
AbstractTransport- Throws:
IOException- when transport could not be created
-
createTransport
Creates a new transport encapsulating connection to a unix socket or TCP socket.- Parameters:
_address- Address parameter- Returns:
AbstractTransport- Throws:
IOException- when transport could not be created
-
genGUID
-