Modul org.freedesktop.dbus
Klasse DirectConnectionBuilder
java.lang.Object
org.freedesktop.dbus.connections.impl.BaseConnectionBuilder<DirectConnectionBuilder,DirectConnection>
org.freedesktop.dbus.connections.impl.DirectConnectionBuilder
public final class DirectConnectionBuilder
extends BaseConnectionBuilder<DirectConnectionBuilder,DirectConnection>
Builder to create a new DirectConnection.
- Version:
- 4.1.0 - 2022-02-04
- Autor:
- hypfvieh
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()
Create the newDBusConnection
.static DirectConnectionBuilder
forAddress
(String _address) Use the given address to create the connection (e.g. used for remote TCP connected DBus daemons).Von Klasse geerbte Methoden org.freedesktop.dbus.connections.impl.BaseConnectionBuilder
buildThreadConfig, buildTransportConfig, getDisconnectCallback, getSystemEndianness, isWeakReference, receivingThreadConfig, transportConfig, withDisconnectCallback, withWeakReferences
-
Methodendetails
-
forAddress
Use the given address to create the connection (e.g. used for remote TCP connected DBus daemons).- Parameter:
_address
- address to use- Gibt zurück:
- this
-
build
Create the newDBusConnection
.- Angegeben von:
build
in KlasseBaseConnectionBuilder<DirectConnectionBuilder,
DirectConnection> - Gibt zurück:
DBusConnection
- Löst aus:
DBusException
- when DBusConnection could not be opened
-