| Constructor and Description |
|---|
NameAcquired(String _path,
String _name) |
NameLost(String path,
String _name) |
NameOwnerChanged(String path,
String _name,
String _oldOwner,
String _newOwner) |
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
Marshalling.convertParameters(Object[] _parameters,
Type[] _types,
AbstractConnection _conn)
Recursively converts types for serialization onto DBus.
|
static Object |
RemoteInvocationHandler.convertRV(String sig,
Object[] rp,
Method m,
AbstractConnection conn) |
static Object |
RemoteInvocationHandler.executeRemoteMethod(RemoteObject ro,
Method m,
AbstractConnection conn,
int syncmethod,
CallbackHandler<?> callback,
Object... args) |
static String[] |
Marshalling.getDBusType(Type _javaType)
Will return the DBus type corresponding to the given Java type.
|
static String |
Marshalling.getDBusType(Type[] _javaType)
Will return the DBus type corresponding to the given Java type.
|
static String[] |
Marshalling.getDBusType(Type _dataType,
boolean _basic)
Will return the DBus type corresponding to the given Java type.
|
static int |
Marshalling.getJavaType(String _dbusType,
List<Type> _resultValue,
int _limit)
Converts a dbus type string into Java Type objects,
|
T |
DBusAsyncReply.getReply()
Get the reply.
|
| Constructor and Description |
|---|
DBusMatchRule(Class<? extends DBusInterface> c,
String method) |
DBusMatchRule(Class<? extends Object> c) |
DBusMatchRule(Class<? extends Object> _c,
String _source,
String _object) |
DBusMatchRule(DBusExecutionException e) |
InternalSignal(String _source,
String _objectpath,
String _name,
String _iface,
String _sig,
long _serial,
Object... _parameters) |
TypeSignature(Type[] types) |
| Modifier and Type | Method and Description |
|---|---|
void |
EmbeddedDBusDaemon.setAddress(String address) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractConnection.addFallback(String _objectPrefix,
DBusInterface _object)
Export an object as a fallback object.
|
protected abstract void |
AbstractConnection.addGenericSigHandler(DBusMatchRule _rule,
DBusSigHandler<DBusSignal> _handler)
Adds a
DBusMatchRule to with a generic signal handler. |
<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.
|
protected abstract <T extends DBusSignal> |
AbstractConnection.addSigHandler(DBusMatchRule _rule,
DBusSigHandler<T> _handler)
Add a signal handler with the given
DBusMatchRule to DBus. |
protected <T extends DBusSignal> |
AbstractConnection.addSigHandlerWithoutMatch(Class<? extends DBusSignal> signal,
DBusSigHandler<T> handler) |
void |
AbstractConnection.exportObject(String objectpath,
DBusInterface object)
Export an object so that its methods can be called on DBus.
|
String |
AbstractConnection.getExportedObject(DBusInterface _interface) |
abstract DBusInterface |
AbstractConnection.getExportedObject(String source,
String path) |
protected abstract void |
AbstractConnection.removeGenericSigHandler(DBusMatchRule _rule,
DBusSigHandler<DBusSignal> _handler)
Remove a generic signal handler with the given
DBusMatchRule. |
<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.
|
protected abstract <T extends DBusSignal> |
AbstractConnection.removeSigHandler(DBusMatchRule _rule,
DBusSigHandler<T> _handler)
Remove a match rule with the given
DBusSigHandler. |
| Constructor and Description |
|---|
AbstractConnection(String address,
int timeout) |
BusAddress(String address) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DirectConnection.addGenericSigHandler(DBusMatchRule rule,
DBusSigHandler<DBusSignal> handler) |
void |
DBusConnection.addGenericSigHandler(DBusMatchRule _rule,
DBusSigHandler<DBusSignal> _handler)
Adds a
DBusMatchRule to with a generic 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> |
DirectConnection.addSigHandler(DBusMatchRule rule,
DBusSigHandler<T> handler) |
<T extends DBusSignal> |
DBusConnection.addSigHandler(DBusMatchRule _rule,
DBusSigHandler<T> _handler)
Add a signal handler with the given
DBusMatchRule to DBus. |
protected DBusInterface |
DBusConnection.dynamicProxy(String _source,
String _path) |
static DBusConnection |
DBusConnection.getConnection(DBusConnection.DBusBusType _bustype)
Connect to DBus.
|
static DBusConnection |
DBusConnection.getConnection(DBusConnection.DBusBusType _bustype,
boolean _shared,
int _timeout)
Connect to the BUS.
|
static DBusConnection |
DBusConnection.getConnection(String _address)
Connect to the BUS.
|
static DBusConnection |
DBusConnection.getConnection(String _address,
boolean _registerSelf,
boolean _shared)
Connect to the BUS.
|
static DBusConnection |
DBusConnection.getConnection(String _address,
boolean _registerSelf,
boolean _shared,
int _timeout)
Connect to the BUS.
|
static String |
DBusConnection.getDbusMachineId()
Extracts the machine-id usually found in /var/lib/dbus/machine-id.
|
DBusInterface |
DirectConnection.getExportedObject(String source,
String path) |
DBusInterface |
DBusConnection.getExportedObject(String _source,
String _path) |
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 |
DirectConnection.getRemoteObject(String objectpath)
Return a reference to a remote object.
|
<T extends DBusInterface> |
DirectConnection.getRemoteObject(String objectpath,
Class<T> type)
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.
|
static DBusConnection |
DBusConnection.newConnection(DBusConnection.DBusBusType _bustype)
Connect to DBus using a new connection even if there is already a connection established.
|
void |
DBusConnection.releaseBusName(String _busname)
Release a bus name.
|
protected void |
DirectConnection.removeGenericSigHandler(DBusMatchRule rule,
DBusSigHandler<DBusSignal> handler) |
void |
DBusConnection.removeGenericSigHandler(DBusMatchRule _rule,
DBusSigHandler<DBusSignal> _handler)
Remove a generic signal handler with the given
DBusMatchRule. |
<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> |
DirectConnection.removeSigHandler(DBusMatchRule rule,
DBusSigHandler<T> handler) |
protected <T extends DBusSignal> |
DBusConnection.removeSigHandler(DBusMatchRule _rule,
DBusSigHandler<T> _handler)
Remove a match rule with the given
DBusSigHandler. |
void |
DBusConnection.requestBusName(String _busname)
Request a bus name.
|
| Constructor and Description |
|---|
DirectConnection(String address)
Create a direct connection to another application.
|
DirectConnection(String address,
int timeout)
Create a direct connection to another application.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
AbstractTransport.readMessage()
Read a message from the underlying socket.
|
| Constructor and Description |
|---|
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) |
| Modifier and Type | Class and Description |
|---|---|
class |
FatalDBusException |
class |
MarshallingException |
class |
MessageFormatException
Thrown if a message is formatted incorrectly.
|
class |
UnknownTypeCodeException |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
DBusSerializable.serialize() |
| Constructor and Description |
|---|
Disconnected(String path) |
InterfacesAdded(String _objectPath,
DBusPath _source,
Map<String,Map<String,Variant<?>>> interfaces) |
InterfacesRemoved(String _objectPath,
DBusPath _source,
List<String> interfaces) |
PropertiesChanged(String _path,
String _interfaceName,
Map<String,Variant<?>> _propertiesChanged,
List<String> _propertiesRemoved) |
| Modifier and Type | Method and Description |
|---|---|
void |
Message.append(String sig,
Object... data)
Append a series of values to the message.
|
void |
DBusSignal.appendbody(AbstractConnection conn) |
static Message |
MessageFactory.createMessage(byte _type,
byte[] _buf,
byte[] _header,
byte[] _body,
List<FileDescriptor> filedescriptors) |
DBusSignal |
DBusSignal.createReal(AbstractConnection conn) |
Object[] |
Message.extract(String _signature,
byte[] _dataBuf,
int _offsets)
Demarshall values from a buffer.
|
Object[] |
Message.extract(String _signature,
byte[] _dataBuf,
int[] _offsets)
Demarshall values from a buffer.
|
Object[] |
Message.getParameters()
Parses and returns the parameters to this message as an Object array.
|
void |
Message.setSource(String source)
Warning, do not use this method unless you really know what you are doing.
|
| Constructor and Description |
|---|
DBusSignal(String objectpath,
Object... args)
Create a new signal.
|
DBusSignal(String source,
String path,
String iface,
String member,
String sig,
Object... args) |
ExportedObject(DBusInterface _object,
boolean _weakreferences) |
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) |
| Modifier and Type | Method and Description |
|---|---|
Message |
IMessageReader.readMessage() |
Message |
InputStreamMessageReader.readMessage() |
Copyright © 2020. All rights reserved.