Uses of Class
org.freedesktop.dbus.connections.impl.DBusConnectionBuilder
Packages that use DBusConnectionBuilder
-
Uses of DBusConnectionBuilder in org.freedesktop.dbus.connections.impl
Methods in org.freedesktop.dbus.connections.impl that return DBusConnectionBuilderModifier and TypeMethodDescriptionstatic DBusConnectionBuilderDBusConnectionBuilder.forAddress(String _address) Use the given address to create the connection (e.g. used for remote TCP connected DBus daemons).static DBusConnectionBuilderDBusConnectionBuilder.forSessionBus()Create a new default connection connecting to the DBus session bus.static DBusConnectionBuilderDBusConnectionBuilder.forSessionBus(String _machineIdFileLocation) Create a new default connection connecting to DBus session bus but use an alternative input for the machineID.static DBusConnectionBuilderDBusConnectionBuilder.forSystemBus()Create new default connection to the DBus system bus.static DBusConnectionBuilderDBusConnectionBuilder.forType(DBusConnection.DBusBusType _type) Create a default connection to DBus using the given bus type.static DBusConnectionBuilderDBusConnectionBuilder.forType(DBusConnection.DBusBusType _type, String _machineIdFile) Create a default connection to DBus using the given bus type and machineIdFile.DBusConnectionBuilder.withDisconnectCallback(IDisconnectCallback _disconnectCallback) Set the given disconnect callback to the created connection.DBusConnectionBuilder.withEndianess(byte _endianess) Set the endianess for the connection Default is based on system endianess.DBusConnectionBuilder.withErrorHandlerThreadCount(int _threads) Set the size of the thread-pool used to handle error messages received on the bus.DBusConnectionBuilder.withMethodCallThreadCount(int _threads) Set the size of the thread-pool used to handle methods calls previously sent to the bus.DBusConnectionBuilder.withMethodReturnThreadCount(int _threads) Set the size of the thread-pool used to handle method return values received on the bus.DBusConnectionBuilder.withRegisterSelf(boolean _register) Register the new connection on DBus using 'hello' message.DBusConnectionBuilder.withShared(boolean _shared) Use this connection as shared connection.DBusConnectionBuilder.withSignalThreadCount(int _threads) Set the size of the thread-pool used to handle signals from the bus.DBusConnectionBuilder.withTimeout(int _timeout) Set the timeout for the connection (used for TCP connections only).DBusConnectionBuilder.withWeakReferences(boolean _weakRef) Enable/Disable weak references on connection.