Uses of Class
org.freedesktop.dbus.exceptions.DBusException
Packages that use DBusException
Package
Description
-
Uses of DBusException in org.freedesktop.dbus
Methods in org.freedesktop.dbus that throw DBusExceptionModifier and TypeMethodDescription(package private) voidDBusMatchRule.assertDBusInterface(String _str) static Object[]Marshalling.convertParameters(Object[] _parameters, Type[] _types, AbstractConnection _conn) Recursively converts types for serialization onto DBus.static ObjectRemoteInvocationHandler.convertRV(String _sig, Object[] _rp, Method _m, AbstractConnection _conn) 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.private static String[]Marshalling.recursiveGetDBusType(StringBuffer[] _out, Type _dataType, boolean _basic, int _level) Constructors in org.freedesktop.dbus that throw DBusExceptionModifierConstructorDescriptionDBusMatchRule(Class<? extends Object> _c) DBusMatchRule(Class<? extends Object> _c, String _source, String _object) (package private)DBusMatchRule(Class<? extends Object> _c, String _source, String _object, String _type, String _member) DBusMatchRule(Class<? extends DBusInterface> _c, String _method) TypeSignature(Type[] _types) -
Uses of DBusException in org.freedesktop.dbus.bin
Methods in org.freedesktop.dbus.bin that throw DBusExceptionModifier and TypeMethodDescriptionprivate DBusSignalDBusDaemon.generatedNameOwnerChangedSignal(String _name, String _oldOwner, String _newOwner) Create a 'NameOwnerChanged' signal manually.private DBusSignalDBusDaemon.generateNameAcquiredSignal(String _name) Create a 'NameAcquired' signal manually.private voidDBusDaemon.DBusServer.handleMessage(DBusDaemon.ConnectionStruct _connStruct, Message _msg) private voidEmbeddedDBusDaemon.startListening()Start listening for incoming connections.Constructors in org.freedesktop.dbus.bin that throw DBusException -
Uses of DBusException in org.freedesktop.dbus.connections
Methods in org.freedesktop.dbus.connections that throw DBusExceptionModifier and TypeMethodDescriptionvoidAbstractConnection.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.abstract DBusInterfaceAbstractConnection.getExportedObject(String _source, String _path) Retrieves an remote object using source and path.abstract <T extends DBusInterface>
TAbstractConnection.getExportedObject(String _source, String _path, Class<T> _type) Retrieves an remote object using source and path.AbstractConnection.getExportedObject(DBusInterface _interface) (package private) voidAbstractConnection.handleMessage(Message _message) Handle received message from DBus.private voidAbstractConnection.handleMessage(MethodCall _methodCall) (package private) MessageAbstractConnection.readIncoming()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.Constructors in org.freedesktop.dbus.connections that throw DBusExceptionModifierConstructorDescriptionprotectedAbstractConnection(TransportConfig _transportConfig, ReceivingServiceConfig _rsCfg) BusAddress(String _address) Deprecated, for removal: This API element is subject to removal in a future version.Use BusAddress.of instead -
Uses of DBusException in org.freedesktop.dbus.connections.impl
Methods in org.freedesktop.dbus.connections.impl that throw DBusExceptionModifier and TypeMethodDescriptionDBusConnection.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.(package private) voidDBusConnection.connect(boolean _registerSelf) Connect to bus and register if asked.<T extends DBusInterface>
TDBusConnection.dynamicProxy(String _source, String _path, Class<T> _type) Tries to resolve a proxy to a remote object.(package private) <T extends DBusInterface>
TDirectConnection.dynamicProxy(String _path, Class<T> _type) static DBusConnectionDBusConnection.getConnection(String _address) Deprecated, for removal: This API element is subject to removal in a future version.static DBusConnectionDBusConnection.getConnection(String _address, boolean _registerSelf, boolean _shared) Deprecated, for removal: This API element is subject to removal in a future version.static DBusConnectionDBusConnection.getConnection(String _address, boolean _registerSelf, boolean _shared, int _timeout) Deprecated, for removal: This API element is subject to removal in a future version.static DBusConnectionDBusConnection.getConnection(DBusConnection.DBusBusType _bustype) Deprecated, for removal: This API element is subject to removal in a future version.static DBusConnectionDBusConnection.getConnection(DBusConnection.DBusBusType _bustype, boolean _shared, int _timeout) Deprecated, for removal: This API element is subject to removal in a future version.DBusConnection.getExportedObject(String _source, String _path) <T extends DBusInterface>
TDBusConnection.getExportedObject(String _source, String _path, Class<T> _type) (package private) <T extends DBusInterface>
TDirectConnection.getExportedObject(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.static DBusConnectionDBusConnection.newConnection(DBusConnection.DBusBusType _bustype) Deprecated, for removal: This API element is subject to removal in a future version.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.private <T extends DBusSignal>
voidDBusConnection.validateSignal(Class<T> _type, String _source) Checks if given type is a DBusSignal and matches the required rules.Constructors in org.freedesktop.dbus.connections.impl that throw DBusExceptionModifierConstructorDescription(package private)DBusConnection(boolean _shared, String _machineId, TransportConfig _tranportCfg, ReceivingServiceConfig _rsCfg) DirectConnection(String _address) Deprecated, for removal: This API element is subject to removal in a future version.DirectConnection(String _address, int _timeout) Deprecated, for removal: This API element is subject to removal in a future version.(package private)DirectConnection(TransportConfig _transportCfg, ReceivingServiceConfig _rsCfg) -
Uses of DBusException in org.freedesktop.dbus.connections.transports
Methods in org.freedesktop.dbus.connections.transports that throw DBusExceptionModifier and TypeMethodDescriptionTransportBuilder.build()Create the transport with the previously provided configuration.static TransportBuilderTransportBuilder.create()Creates a newTransportBuilderinstance using a empty transport configuration.static TransportBuilderCreates a newTransportBuilderinstance with the given address.static TransportBuilderTransportBuilder.create(BusAddress _address) Creates a newTransportBuilderinstance with the given address.static TransportBuilderTransportBuilder.create(TransportConfig _config) Creates a newTransportBuilderinstance using the given configuration.static TransportBuilderTransportBuilder.createWithDynamicSession(String _transportType) Creates a newTransportBuilderwith a dynamically created address.AbstractTransport.readMessage()Read a message from the underlying socket.Constructors in org.freedesktop.dbus.connections.transports that throw DBusException -
Uses of DBusException in org.freedesktop.dbus.errors
Constructors in org.freedesktop.dbus.errors that throw DBusException -
Uses of DBusException in org.freedesktop.dbus.exceptions
Subclasses of DBusException in org.freedesktop.dbus.exceptionsModifier and TypeClassDescriptionclassThrown when something goes wrong with the connection to DBus.classclassclassThrown if a message is formatted incorrectly.class -
Uses of DBusException in org.freedesktop.dbus.interfaces
Methods in org.freedesktop.dbus.interfaces that throw DBusExceptionConstructors in org.freedesktop.dbus.interfaces that throw DBusExceptionModifierConstructorDescriptionInterfacesAdded(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) -
Uses of DBusException in org.freedesktop.dbus.messages
Methods in org.freedesktop.dbus.messages that throw DBusExceptionModifier and TypeMethodDescriptionvoidAppend a series of values to the message.voidDBusSignal.appendbody(AbstractConnection _conn) (package private) voidMethodBase.appendFileDescriptors(List<Object> _hargs, String _sig, Object... _args) Appends filedescriptors (if any).private intAppends a value to the message.static MessageMessageFactory.createMessage(byte _type, byte[] _buf, byte[] _header, byte[] _body, List<FileDescriptor> _filedescriptors) DBusSignal.createReal(AbstractConnection _conn) private static Class<? extends DBusSignal> DBusSignal.createSignalClass(String _intName, String _sigName) Object[]Demarshall values from a buffer.Object[]Demarshall values from a buffer.(package private) Object[]Message.extract(String _signature, byte[] _dataBuf, int[] _offsets, Message.ExtractMethod _method) private ObjectMessage.extractArray(byte[] _signatureBuf, byte[] _dataBuf, int[] _offsets, boolean _contained, Message.ExtractMethod _extractMethod) Extracts an array from the data received on bus.(package private) Object[]Message.extractHeader(byte[] _headers) Extracts the header information from the given byte array.Message.ExtractMethod.extractOne(byte[] _signatureBuf, byte[] _dataBuf, int[] _offsets, boolean _contained) private ObjectMessage.extractOne(byte[] _signatureBuf, byte[] _dataBuf, int[] _offsets, boolean _contained) Demarshall one value from a buffer.private ObjectMessage.extractStruct(byte[] _signatureBuf, byte[] _dataBuf, int[] _offsets, Message.ExtractMethod _extractMethod) Extracts a struct from the data received on bus.private ObjectMessage.extractVariant(byte[] _dataBuf, int[] _offsets, BiFunction<String, Object, Object> _variantFactory) Extracts aVariantfrom the data received on bus.private StringExportedObject.generateIntrospectionXml(Set<Class<?>> _interfaces) 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(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.private ObjectMessage.optimizePrimitives(byte[] _signatureBuf, byte[] _dataBuf, int[] _offsets, long _size, byte _algn, int _length, Message.ExtractMethod _extractMethod) Will create primitive arrays when an array is read.protected voidMessage.padAndMarshall(List<Object> _hargs, long _serial, String _sig, Object... _args) Adds message padding and marshalling.(package private) voidMessage.populate(byte[] _msg, byte[] _headers, byte[] _body, List<FileDescriptor> _descriptors) Create a message from wire-format data.private intMessage.prepareCollection(byte[] _signatureBuf, int[] _offsets, long _size) private ObjectMessage.readHeaderVariants(byte[] _signatureBuf, byte[] _dataBuf, int[] _offsets, boolean _contained) Special lightweight version to read the variant objects in DBus message header.voidWarning, do not use this method unless you really know what you are doing.Constructors in org.freedesktop.dbus.messages that throw DBusExceptionModifierConstructorDescriptionprotectedDBusSignal(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) protectedMessage(byte _endian, byte _type, byte _flags) Create a message; only to be called by sub-classes.MethodBase(byte _endianness, byte _methodCall, byte _flags) 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(String _dest, long _replyserial, String _sig, Object... _args) MethodReturn(String _source, String _dest, long _replyserial, String _sig, Object... _args) MethodReturn(String _source, MethodCall _mc, String _sig, Object... _args) MethodReturn(MethodCall _mc, String _sig, Object... _args) -
Uses of DBusException in org.freedesktop.dbus.spi.message
Methods in org.freedesktop.dbus.spi.message that throw DBusExceptionModifier and TypeMethodDescriptionIMessageReader.readMessage()InputStreamMessageReader.readMessage() -
Uses of DBusException in org.freedesktop.dbus.utils.generator
Methods in org.freedesktop.dbus.utils.generator that throw DBusExceptionModifier and TypeMethodDescriptionprivate StringInterfaceCodeGenerator.buildStructClass(String _dbusTypeStr, String _structName, ClassBuilderInfo _packageName, List<ClassBuilderInfo> _structClasses) Creates a class for a DBus Struct-Object.StructTreeBuilder.buildStructClasses(String _dbusSig, String _structName, ClassBuilderInfo _clzBldr, List<ClassBuilderInfo> _generatedClasses) Builds the struct(s) found in _dbusSig.private List<StructTreeBuilder.StructTree> StructTreeBuilder.buildTree(ParameterizedType _pType) Create tree fromParameterizedType.private List<StructTreeBuilder.StructTree> Builds a tree of types based on the given DBus type definition string.InterfaceCodeGenerator.extractAll(Element _ife) Extract all methods/signals etc.private List<ClassBuilderInfo> InterfaceCodeGenerator.extractMethods(Element _methodElement, ClassBuilderInfo _clzBldr) Extract <method> elements properties.private List<ClassBuilderInfo> InterfaceCodeGenerator.extractProperties(Element _propertyElement, ClassBuilderInfo _clzBldr) Extract <property> elements properties.private List<ClassBuilderInfo> InterfaceCodeGenerator.extractSignals(Element _signalElement, ClassBuilderInfo _clzBldr) Extract <signal> element properties.static StringTypeConverter.getJavaTypeFromDBusType(String _dbusType, Set<String> _javaIncludes) Converts a DBus data type string to java classname(s).TypeConverter.getTypeAdv(Type _type) Resolve java type recursively.private static StringTypeConverter.getTypeAdv(String _dbusType, Set<String> _javaIncludes) Special handling forDBusMapTypeandDBusListType. -
Uses of DBusException in org.freedesktop.dbus.utils.translator
Methods in org.freedesktop.dbus.utils.translator that throw DBusException -
Uses of DBusException in org.freedesktop.dbus.viewer
Methods in org.freedesktop.dbus.viewer that throw DBusExceptionModifier and TypeMethodDescription(package private) DBusEntryprivate DBusTableModelDBusViewer.listDBusConnection(boolean _users, boolean _owners, DBusConnection _conn) void