Class TransportFactory


  • public final class TransportFactory
    extends Object
    Factory to create connection to DBus using unix socket or TCP.
    Since:
    v3.2.0 - 2019-02-08
    Author:
    hypfvieh
    • Method Detail

      • 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
      • genGUID

        public static String genGUID()