| Package | Description |
|---|---|
| org.freedesktop | |
| org.freedesktop.dbus | |
| org.freedesktop.dbus.exceptions |
| Constructor and Description |
|---|
Disconnected(String path) |
NameAcquired(String path,
String name) |
NameLost(String path,
String name) |
NameOwnerChanged(String path,
String name,
String old_owner,
String new_owner) |
Trigger(String path,
UInt16 a,
double b) |
Triggered(String path,
UInt64 a) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractConnection.addFallback(String objectprefix,
DBusInterface object)
Export an object as a fallback object.
|
<T extends DBusSignal> |
AbstractConnection.addSigHandler(Class<T> type,
DBusInterface object,
DBusSigHandler<T> handler)
Add a Signal Handler.
|
<T extends DBusSignal> |
AbstractConnection.addSigHandler(Class<T> type,
DBusSigHandler<T> handler)
Add a Signal Handler.
|
<T extends DBusSignal> |
DBusConnection.addSigHandler(Class<T> type,
String source,
DBusInterface object,
DBusSigHandler<T> handler)
Add a Signal Handler.
|
<T extends DBusSignal> |
DBusConnection.addSigHandler(Class<T> type,
String source,
DBusSigHandler<T> handler)
Add a Signal Handler.
|
protected <T extends DBusSignal> |
DBusConnection.addSigHandler(DBusMatchRule rule,
DBusSigHandler<T> handler) |
protected abstract <T extends DBusSignal> |
AbstractConnection.addSigHandler(DBusMatchRule rule,
DBusSigHandler<T> handler) |
protected <T extends DBusSignal> |
AbstractConnection.addSigHandlerWithoutMatch(Class<? extends DBusSignal> signal,
DBusSigHandler<T> handler) |
void |
Message.append(String sig,
Object... data)
Append a series of values to the message.
|
static Object[] |
Marshalling.convertParameters(Object[] parameters,
Type[] types,
AbstractConnection conn)
Recursively converts types for serialization onto DBus.
|
void |
AbstractConnection.exportObject(String objectpath,
DBusInterface object)
Export an object so that its methods can be called on DBus.
|
Object[] |
Message.extract(String sig,
byte[] buf,
int ofs)
Demarshall values from a buffer.
|
Object[] |
Message.extract(String sig,
byte[] buf,
int[] ofs)
Demarshall values from a buffer.
|
static DBusConnection |
DBusConnection.getConnection(int bustype)
Connect to the BUS.
|
static DBusConnection |
DBusConnection.getConnection(String address)
Connect to the BUS.
|
static String[] |
Marshalling.getDBusType(Type c)
Will return the DBus type corresponding to the given Java type.
|
static String |
Marshalling.getDBusType(Type[] c)
Will return the DBus type corresponding to the given Java type.
|
static String[] |
Marshalling.getDBusType(Type c,
boolean basic)
Will return the DBus type corresponding to the given Java type.
|
static int |
Marshalling.getJavaType(String dbus,
List<Type> rv,
int limit)
Converts a dbus type string into Java Type objects,
|
Object[] |
Message.getParameters()
Parses and returns the parameters to this message as an Object array.
|
DBusInterface |
DBusConnection.getPeerRemoteObject(String busname,
String objectpath)
Return a reference to a remote object.
|
<I extends DBusInterface> |
DBusConnection.getPeerRemoteObject(String busname,
String objectpath,
Class<I> type) |
<I extends DBusInterface> |
DBusConnection.getPeerRemoteObject(String busname,
String objectpath,
Class<I> type,
boolean autostart)
Return a reference to a remote object.
|
DBusInterface |
DBusConnection.getRemoteObject(String busname,
String objectpath)
Return a reference to a remote object.
|
<I extends DBusInterface> |
DBusConnection.getRemoteObject(String busname,
String objectpath,
Class<I> type)
Return a reference to a remote object.
|
<I extends DBusInterface> |
DBusConnection.getRemoteObject(String busname,
String objectpath,
Class<I> type,
boolean autostart)
Return a reference to a remote object.
|
Message |
MessageReader.readMessage() |
static String[] |
Marshalling.recursiveGetDBusType(Type c,
boolean basic,
int level) |
void |
DBusConnection.releaseBusName(String busname)
Release a bus name.
|
<T extends DBusSignal> |
AbstractConnection.removeSigHandler(Class<T> type,
DBusInterface object,
DBusSigHandler<T> handler)
Remove a Signal Handler.
|
<T extends DBusSignal> |
AbstractConnection.removeSigHandler(Class<T> type,
DBusSigHandler<T> handler)
Remove a Signal Handler.
|
<T extends DBusSignal> |
DBusConnection.removeSigHandler(Class<T> type,
String source,
DBusInterface object,
DBusSigHandler<T> handler)
Remove a Signal Handler.
|
<T extends DBusSignal> |
DBusConnection.removeSigHandler(Class<T> type,
String source,
DBusSigHandler<T> handler)
Remove a Signal Handler.
|
protected <T extends DBusSignal> |
DBusConnection.removeSigHandler(DBusMatchRule rule,
DBusSigHandler<T> handler) |
protected abstract <T extends DBusSignal> |
AbstractConnection.removeSigHandler(DBusMatchRule rule,
DBusSigHandler<T> handler) |
void |
DBusConnection.requestBusName(String busname)
Request a bus name.
|
Object[] |
DBusSerializable.serialize() |
void |
Message.setSource(String source)
Warning, do not use this method unless you really know what you are doing.
|
| Constructor and Description |
|---|
AbstractConnection(String address) |
DBusMatchRule(Class<? extends DBusInterface> c,
String method) |
DBusMatchRule(Class<? extends Object> c) |
DBusMatchRule(Class<? extends Object> c,
String source,
String object) |
DBusMatchRule(DBusExecutionException e) |
DBusSignal(String objectpath,
Object... args)
Create a new signal.
|
DBusSignal(String source,
String path,
String iface,
String member,
String sig,
Object... args) |
Error(Message m,
Throwable e) |
Error(String source,
Message m,
Throwable e) |
Error(String dest,
String errorName,
long replyserial,
String sig,
Object... args) |
Error(String source,
String dest,
String errorName,
long replyserial,
String sig,
Object... args) |
Message(byte endian,
byte type,
byte flags)
Create a message; only to be called by sub-classes.
|
MethodCall(String dest,
String path,
String iface,
String member,
byte flags,
String sig,
Object... args) |
MethodCall(String source,
String dest,
String path,
String iface,
String member,
byte flags,
String sig,
Object... args) |
MethodReturn(MethodCall mc,
String sig,
Object... args) |
MethodReturn(String dest,
long replyserial,
String sig,
Object... args) |
MethodReturn(String source,
MethodCall mc,
String sig,
Object... args) |
MethodReturn(String source,
String dest,
long replyserial,
String sig,
Object... args) |
TypeSignature(Type[] types) |
| Modifier and Type | Class and Description |
|---|---|
class |
FatalDBusException |
class |
MarshallingException |
class |
MessageFormatException
Thrown if a message is formatted incorrectly.
|
class |
UnknownTypeCodeException |
Copyright © 2019 JBoss by Red Hat. All rights reserved.