Verwendungen von Klasse
org.freedesktop.dbus.exceptions.DBusException
Packages, die DBusException verwenden
Package
Beschreibung
-
Verwendungen von DBusException in org.freedesktop.dbus
Methoden in org.freedesktop.dbus, die DBusException auslösenModifizierer und TypMethodeBeschreibungstatic Object[]Marshalling.convertParameters(Object[] _parameters, Type[] _types, String[] _customSignatures, AbstractConnectionBase _conn) Recursively converts types for serialization onto DBus.
When _customSignature is not empty or null, it will be used to wrap the given parameters to aVariant
of the type defined in the _customSignature array.
It is required that everyVariantpassed has a signature definition in _customSignature.
E.g. 3 Objects are given in _parameters: String, Variant, Variant.
Then it is expected that _customSignature (if used) contains 2 entries one for eachVariant.
If the _customSignature is smaller than the count ofVariants in _parameters, all remainingVariants
are created without a explicit signature (Variant constructor will try to determine type automatically).
If more entries are given thenVariants found in _parameters, the additional signatures are ignored.static Object[]Marshalling.convertParameters(Object[] _parameters, Type[] _types, AbstractConnectionBase _conn) Recursively converts types for serialization onto DBus.static ObjectRemoteInvocationHandler.convertRV(Object[] _rp, Method _m, AbstractConnection _conn) static ObjectRemoteInvocationHandler.convertRV(Object[] _rp, Type[] _types, Method _m, AbstractConnection _conn) static ObjectRemoteInvocationHandler.executeRemoteMethod(RemoteObject _ro, Method _m, Type[] _types, AbstractConnection _conn, int _syncmethod, CallbackHandler<?> _callback, Object... _args) static ObjectRemoteInvocationHandler.executeRemoteMethod(RemoteObject _ro, Method _m, String[] _customSignatures, Type[] _types, AbstractConnection _conn, int _syncmethod, CallbackHandler<?> _callback, Object... _args) Executes a remote method.static ObjectRemoteInvocationHandler.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 StringMarshalling.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 intMarshalling.getJavaType(String _dbusType, List<Type> _resultValue, int _limit) Converts a dbus type string into Java Type objects,DBusAsyncReply.getReply()Get the reply.Konstruktoren in org.freedesktop.dbus, die DBusException auslösenModifiziererKonstruktorBeschreibungDBusMatchRule(Class<? extends Object> _c) DBusMatchRule(Class<? extends Object> _c, String _source, String _object) DBusMatchRule(Class<? extends DBusInterface> _c, String _method) -
Verwendungen von DBusException in org.freedesktop.dbus.connections
Methoden in org.freedesktop.dbus.connections, die DBusException auslösenModifizierer und TypMethodeBeschreibungvoidAbstractConnection.addFallback(String _objectPrefix, DBusInterface _object) Export an object as a fallback object.protected abstract AutoCloseableAbstractConnection.addGenericSigHandler(DBusMatchRule _rule, DBusSigHandler<DBusSignal> _handler) Adds aDBusMatchRuleto with a generic signal handler.<T extends DBusSignal>
AutoCloseableAbstractConnection.addSigHandler(Class<T> _type, DBusInterface _object, DBusSigHandler<T> _handler) Add a Signal Handler.<T extends DBusSignal>
AutoCloseableAbstractConnection.addSigHandler(Class<T> _type, DBusSigHandler<T> _handler) Add a Signal Handler.protected abstract <T extends DBusSignal>
AutoCloseableAbstractConnection.addSigHandler(DBusMatchRule _rule, DBusSigHandler<T> _handler) Add a signal handler with the givenDBusMatchRuleto DBus.protected <T extends DBusSignal>
voidAbstractConnection.addSigHandlerWithoutMatch(Class<? extends DBusSignal> _signal, DBusSigHandler<T> _handler) voidAbstractConnection.exportObject(String _objectPath, DBusInterface _object) Export an object so that its methods can be called on DBus.voidAbstractConnection.exportObject(DBusInterface _object) Export an object so that its methods can be called on DBus.protected abstract voidAbstractConnection.removeGenericSigHandler(DBusMatchRule _rule, DBusSigHandler<DBusSignal> _handler) Remove a generic signal handler with the givenDBusMatchRule.<T extends DBusSignal>
voidAbstractConnection.removeSigHandler(Class<T> _type, DBusInterface _object, DBusSigHandler<T> _handler) Remove a Signal Handler.<T extends DBusSignal>
voidAbstractConnection.removeSigHandler(Class<T> _type, DBusSigHandler<T> _handler) Remove a Signal Handler.protected abstract <T extends DBusSignal>
voidAbstractConnection.removeSigHandler(DBusMatchRule _rule, DBusSigHandler<T> _handler) Remove a match rule with the givenDBusSigHandler.Konstruktoren in org.freedesktop.dbus.connections, die DBusException auslösenModifiziererKonstruktorBeschreibungprotectedAbstractConnection(TransportConfig _transportConfig, ReceivingServiceConfig _rsCfg) -
Verwendungen von DBusException in org.freedesktop.dbus.connections.base
Methoden in org.freedesktop.dbus.connections.base, die DBusException auslösenModifizierer und TypMethodeBeschreibungabstract DBusInterfaceAbstractConnectionBase.getExportedObject(String _source, String _path) Retrieves an remote object using source and path.abstract <T extends DBusInterface>
TAbstractConnectionBase.getExportedObject(String _source, String _path, Class<T> _type) Retrieves an remote object using source and path.AbstractConnectionBase.getExportedObject(DBusInterface _interface) protected org.freedesktop.dbus.connections.base.DBusBoundPropertyHandler.PropHandledDBusBoundPropertyHandler.handleDBusBoundProperties(ExportedObject _exportObject, MethodCall _methodCall, Object[] _params) Method which handles the magic related toDBusBoundPropertyannotation.
It takes care of proper method calling (calling Get/Set stuff on DBus Properties interface)
and will also take care of converting wrapped Variant types.protected org.freedesktop.dbus.connections.base.DBusBoundPropertyHandler.PropHandledDBusBoundPropertyHandler.handleGetAll(ExportedObject _exportObject, MethodCall _methodCall) Called when 'GetAll' method of DBusPropertiesinterface is called.protected voidConnectionMethodInvocation.invokedMethodReply(MethodCall _methodCall, Method _me, Object _result) protected voidAbstractConnectionBase.rejectUnknownProperty(MethodCall _methodCall, Object[] _params) Sends a reply on the bus to signal a non-existing property was requested.Konstruktoren in org.freedesktop.dbus.connections.base, die DBusException auslösenModifiziererKonstruktorBeschreibungprotectedAbstractConnectionBase(TransportConfig _transportConfig, ReceivingServiceConfig _rsCfg) protectedConnectionMessageHandler(TransportConfig _transportConfig, ReceivingServiceConfig _rsCfg) protectedConnectionMethodInvocation(TransportConfig _transportConfig, ReceivingServiceConfig _rsCfg) protectedDBusBoundPropertyHandler(TransportConfig _transportConfig, ReceivingServiceConfig _rsCfg) -
Verwendungen von DBusException in org.freedesktop.dbus.connections.impl
Methoden in org.freedesktop.dbus.connections.impl, die DBusException auslösenModifizierer und TypMethodeBeschreibungDBusConnection.addGenericSigHandler(DBusMatchRule _rule, DBusSigHandler<DBusSignal> _handler) protected AutoCloseableDirectConnection.addGenericSigHandler(DBusMatchRule _rule, DBusSigHandler<DBusSignal> _handler) <T extends DBusSignal>
AutoCloseableDBusConnection.addSigHandler(Class<T> _type, String _source, DBusInterface _object, DBusSigHandler<T> _handler) Add a Signal Handler.<T extends DBusSignal>
AutoCloseableDBusConnection.addSigHandler(Class<T> _type, String _source, DBusSigHandler<T> _handler) Add a Signal Handler.<T extends DBusSignal>
AutoCloseableDBusConnection.addSigHandler(DBusMatchRule _rule, DBusSigHandler<T> _handler) Add a signal handler with the givenDBusMatchRuleto DBus.protected <T extends DBusSignal>
AutoCloseableDirectConnection.addSigHandler(DBusMatchRule _rule, DBusSigHandler<T> _handler) abstract CBaseConnectionBuilder.build()DBusConnectionBuilder.build()Create the newDBusConnection.DirectConnectionBuilder.build()Create the newDBusConnection.<T extends DBusInterface>
TDBusConnection.dynamicProxy(String _source, String _path, Class<T> _type) Tries to resolve a proxy to a remote object.DBusConnection.getExportedObject(String _source, String _path) <T extends DBusInterface>
TDBusConnection.getExportedObject(String _source, String _path, Class<T> _type) DirectConnection.getExportedObject(String _source, String _path) <T extends DBusInterface>
TDirectConnection.getExportedObject(String _source, String _path, Class<T> _type) DBusConnection.getPeerRemoteObject(String _busname, String _objectpath) Return a reference to a remote object.<I extends DBusInterface>
IDBusConnection.getPeerRemoteObject(String _busname, String _objectpath, Class<I> _type) <I extends DBusInterface>
IDBusConnection.getPeerRemoteObject(String _busname, String _objectpath, Class<I> _type, boolean _autostart) Return a reference to a remote object.DBusConnection.getRemoteObject(String _busname, String _objectpath) Return a reference to a remote object.<I extends DBusInterface>
IDBusConnection.getRemoteObject(String _busname, String _objectpath, Class<I> _type) Return a reference to a remote object.<I extends DBusInterface>
IDBusConnection.getRemoteObject(String _busname, String _objectpath, Class<I> _type, boolean _autostart) Return a reference to a remote object.DirectConnection.getRemoteObject(String _objectPath) Return a reference to a remote object.<T extends DBusInterface>
TDirectConnection.getRemoteObject(String _objectPath, Class<T> _type) Return a reference to a remote object.voidDBusConnection.register()Register this connection on the bus using 'Hello' message.
Will do nothing if session was already registered.voidDBusConnection.releaseBusName(String _busname) Release a bus name.voidDBusConnection.removeGenericSigHandler(DBusMatchRule _rule, DBusSigHandler<DBusSignal> _handler) protected voidDirectConnection.removeGenericSigHandler(DBusMatchRule _rule, DBusSigHandler<DBusSignal> _handler) <T extends DBusSignal>
voidDBusConnection.removeSigHandler(Class<T> _type, String _source, DBusInterface _object, DBusSigHandler<T> _handler) Remove a Signal Handler.<T extends DBusSignal>
voidDBusConnection.removeSigHandler(Class<T> _type, String _source, DBusSigHandler<T> _handler) Remove a Signal Handler.protected <T extends DBusSignal>
voidDBusConnection.removeSigHandler(DBusMatchRule _rule, DBusSigHandler<T> _handler) Remove a match rule with the givenDBusSigHandler.protected <T extends DBusSignal>
voidDirectConnection.removeSigHandler(DBusMatchRule _rule, DBusSigHandler<T> _handler) voidDBusConnection.requestBusName(String _busname) Request a bus name. -
Verwendungen von DBusException in org.freedesktop.dbus.connections.transports
Methoden in org.freedesktop.dbus.connections.transports, die DBusException auslösenModifizierer und TypMethodeBeschreibungTransportBuilder.build()Create the transport with the previously provided configuration.static TransportBuilderTransportBuilder.createWithDynamicSession(String _transportType) Creates a newTransportBuilderwith a dynamically created address.AbstractTransport.readMessage()Read a message from the underlying socket. -
Verwendungen von DBusException in org.freedesktop.dbus.exceptions
Unterklassen von DBusException in org.freedesktop.dbus.exceptionsModifizierer und TypKlasseBeschreibungclassThrown when something goes wrong with the connection to DBus.classclassclassclassclassclassclassThrown if a message is formatted incorrectly.class -
Verwendungen von DBusException in org.freedesktop.dbus.interfaces
Methoden in org.freedesktop.dbus.interfaces, die DBusException auslösenKonstruktoren in org.freedesktop.dbus.interfaces, die DBusException auslösenModifiziererKonstruktorBeschreibungInterfacesAdded(String _objectPath, DBusPath _source, Map<String, Map<String, Variant<?>>> _interfaces) InterfacesRemoved(String _objectPath, DBusPath _source, List<String> _interfaces) NameAcquired(String _path, String _name) NameOwnerChanged(String _path, String _name, String _oldOwner, String _newOwner) PropertiesChanged(String _path, String _interfaceName, Map<String, Variant<?>> _propertiesChanged, List<String> _propertiesRemoved) -
Verwendungen von DBusException in org.freedesktop.dbus.messages
Methoden in org.freedesktop.dbus.messages, die DBusException auslösenModifizierer und TypMethodeBeschreibungprotected voidAppend a series of values to the message.voidDBusSignal.appendbody(AbstractConnectionBase _conn) MessageFactory.createError(String _dest, String _errorName, long _replyserial, String _sig, Object... _args) MessageFactory.createError(String _source, String _dest, String _errorName, long _replyserial, String _sig, Object... _args) MessageFactory.createError(String _source, Message _m, Throwable _ex) MessageFactory.createError(Message _m, Throwable _ex) static MessageMessageFactory.createMessage(byte _type, byte[] _buf, byte[] _header, byte[] _body, List<FileDescriptor> _filedescriptors) MessageFactory.createMethodCall(String _dest, String _path, String _iface, String _member, byte _flags, String _sig, Object... _args) MessageFactory.createMethodCall(String _source, String _dest, String _path, String _iface, String _member, byte _flags, String _sig, Object... _args) MessageFactory.createMethodReturn(String _source, MethodCall _mc, String _sig, Object... _args) MessageFactory.createMethodReturn(MethodCall _mc, String _sig, Object... _args) DBusSignal.createReal(AbstractConnectionBase _conn) Called to create signal objects for object handlers.MessageFactory.createSignal(String _objectPath, Object... _args) MessageFactory.createSignal(String _source, String _path, String _iface, String _member, String _sig, Object... _args) protected Object[]Message.extract(String _signature, byte[] _dataBuf, int[] _offsets, org.freedesktop.dbus.messages.Message.ExtractOptions _options) Demarshall values from a buffer.protected Object[]Message.extract(String _signature, byte[] _dataBuf, int _offsets, org.freedesktop.dbus.messages.Message.ExtractOptions _options) Demarshall values from a buffer.protected StringExportedObject.generateMethodsXml(Class<?> _clz) Generates the introspection data for the input interface methodsprotected StringExportedObject.generatePropertiesXml(Class<?> _clz) Generates the introspection data for the input interface properties.protected StringExportedObject.generatePropertyXml(String _propertyName, Class<?> _propertyTypeClass, DBusProperty.Access _access) Generates the introspection data for the single property.protected StringExportedObject.generatePropertyXml(DBusProperty _property) Generates the introspection data for the single property.protected StringExportedObject.generateSignalsXml(Class<?> _clz) Generates the introspection data for the input interface signalsObject[]Message.getParameters()Parses and returns the parameters to this message as an Object array.protected voidMessage.padAndMarshall(List<Object> _hargs, long _serial, String _sig, Object... _args) Adds message padding and marshalling.voidWarning, do not use this method unless you really know what you are doing.Konstruktoren in org.freedesktop.dbus.messages, die DBusException auslösenModifiziererKonstruktorBeschreibungprotectedDBusSignal(byte _endianess, String _objectPath, Object... _args) Create a new signal.protectedDBusSignal(byte _endianess, String _source, String _path, String _iface, String _member, String _sig, Object... _args) protectedDBusSignal(String _objectPath, Object... _args) Create a new signal.protectedError(byte _endianess, String _dest, String _errorName, long _replyserial, String _sig, Object... _args) protectedError(byte _endianess, String _source, String _dest, String _errorName, long _replyserial, String _sig, Object... _args) protectedprotectedExportedObject(DBusInterface _object, boolean _weakreferences) protectedMessage(byte _endian, byte _type, byte _flags) Create a message; only to be called by sub-classes.protectedMethodBase(byte _endianness, byte _methodCall, byte _flags) protectedMethodCall(byte _endianess, String _dest, String _path, String _iface, String _member, byte _flags, String _sig, Object... _args) protectedMethodCall(byte _endianess, String _source, String _dest, String _path, String _iface, String _member, byte _flags, String _sig, Object... _args) protectedMethodReturn(byte _endianess, String _dest, long _replyserial, String _sig, Object... _args) protectedMethodReturn(byte _endianess, String _source, String _dest, long _replyserial, String _sig, Object... _args) protectedMethodReturn(String _source, MethodCall _mc, String _sig, Object... _args) protectedMethodReturn(MethodCall _mc, String _sig, Object... _args) -
Verwendungen von DBusException in org.freedesktop.dbus.propertyref
Methoden in org.freedesktop.dbus.propertyref, die DBusException auslösenModifizierer und TypMethodeBeschreibungstatic ObjectPropRefRemoteHandler.handleDBusBoundProperty(AbstractConnection _conn, RemoteObject _remote, Method _method, Object[] _args) Handles theDBusBoundPropertyannotation.
The special handling is needed because when this annotation is used the
object uses the DBusPropertiesinterface without explicitly implementing it.
In that case we have to fake the presents of this interface and also take care about
the types which have to be wrapped inVariant
(due to DBus Properties specify that every property value is aVariant). -
Verwendungen von DBusException in org.freedesktop.dbus.spi.message
Methoden in org.freedesktop.dbus.spi.message, die DBusException auslösenModifizierer und TypMethodeBeschreibungprotected abstract List<FileDescriptor> AbstractInputStreamMessageReader.readFileDescriptors(SocketChannel _inputChannel) Methods which will be called when file descriptor passing is enabled.final MessageAbstractInputStreamMessageReader.readMessage()IMessageReader.readMessage()