Uses of Class
org.freedesktop.dbus.exceptions.DBusException
-
-
Uses of DBusException in org.freedesktop
Constructors in org.freedesktop that throw DBusException Constructor Description NameAcquired(String _path, String _name)NameLost(String path, String _name)NameOwnerChanged(String path, String _name, String _oldOwner, String _newOwner) -
Uses of DBusException in org.freedesktop.dbus
Methods in org.freedesktop.dbus that throw DBusException Modifier and Type Method Description 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,TDBusAsyncReply. getReply()Get the reply.Constructors in org.freedesktop.dbus that throw DBusException Constructor Description DBusMatchRule(Class<? extends Object> c)DBusMatchRule(Class<? extends Object> _c, String _source, String _object)DBusMatchRule(Class<? extends DBusInterface> c, String method)DBusMatchRule(DBusExecutionException e)InternalSignal(String _source, String _objectpath, String _name, String _iface, String _sig, long _serial, Object... _parameters)TypeSignature(Type[] types) -
Uses of DBusException in org.freedesktop.dbus.bin
Methods in org.freedesktop.dbus.bin that throw DBusException Modifier and Type Method Description voidEmbeddedDBusDaemon. setAddress(String address) -
Uses of DBusException in org.freedesktop.dbus.connections
Methods in org.freedesktop.dbus.connections that throw DBusException Modifier and Type Method Description voidAbstractConnection. addFallback(String _objectPrefix, DBusInterface _object)Export an object as a fallback object.protected abstract voidAbstractConnection. addGenericSigHandler(DBusMatchRule _rule, DBusSigHandler<DBusSignal> _handler)Adds aDBusMatchRuleto with a generic signal handler.<T extends DBusSignal>
voidAbstractConnection. addSigHandler(Class<T> type, DBusInterface object, DBusSigHandler<T> handler)Add a Signal Handler.<T extends DBusSignal>
voidAbstractConnection. addSigHandler(Class<T> type, DBusSigHandler<T> handler)Add a Signal Handler.protected abstract <T extends DBusSignal>
voidAbstractConnection. 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.abstract DBusInterfaceAbstractConnection. getExportedObject(String source, String path)StringAbstractConnection. getExportedObject(DBusInterface _interface)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 DBusException Constructor Description AbstractConnection(String address, int timeout)BusAddress(String address) -
Uses of DBusException in org.freedesktop.dbus.connections.impl
Methods in org.freedesktop.dbus.connections.impl that throw DBusException Modifier and Type Method Description voidDBusConnection. addGenericSigHandler(DBusMatchRule _rule, DBusSigHandler<DBusSignal> _handler)Adds aDBusMatchRuleto with a generic signal handler.protected voidDirectConnection. addGenericSigHandler(DBusMatchRule rule, DBusSigHandler<DBusSignal> handler)<T extends DBusSignal>
voidDBusConnection. addSigHandler(Class<T> _type, String _source, DBusInterface _object, DBusSigHandler<T> _handler)Add a Signal Handler.<T extends DBusSignal>
voidDBusConnection. addSigHandler(Class<T> _type, String _source, DBusSigHandler<T> _handler)Add a Signal Handler.<T extends DBusSignal>
voidDBusConnection. addSigHandler(DBusMatchRule _rule, DBusSigHandler<T> _handler)Add a signal handler with the givenDBusMatchRuleto DBus.protected <T extends DBusSignal>
voidDirectConnection. addSigHandler(DBusMatchRule rule, DBusSigHandler<T> handler)protected DBusInterfaceDBusConnection. dynamicProxy(String _source, String _path)static DBusConnectionDBusConnection. getConnection(String _address)Connect to the BUS.static DBusConnectionDBusConnection. getConnection(String _address, boolean _registerSelf, boolean _shared)Connect to the BUS.static DBusConnectionDBusConnection. getConnection(String _address, boolean _registerSelf, boolean _shared, int _timeout)Connect to the BUS.static DBusConnectionDBusConnection. getConnection(DBusConnection.DBusBusType _bustype)Connect to DBus.static DBusConnectionDBusConnection. getConnection(DBusConnection.DBusBusType _bustype, boolean _shared, int _timeout)Connect to the BUS.static StringDBusConnection. getDbusMachineId()Extracts the machine-id usually found in /var/lib/dbus/machine-id.DBusInterfaceDBusConnection. getExportedObject(String _source, String _path)DBusInterfaceDirectConnection. getExportedObject(String source, String path)DBusInterfaceDBusConnection. 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.DBusInterfaceDBusConnection. 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.DBusInterfaceDirectConnection. 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)Connect to DBus using a new connection even if there is already a connection established.voidDBusConnection. releaseBusName(String _busname)Release a bus name.voidDBusConnection. removeGenericSigHandler(DBusMatchRule _rule, DBusSigHandler<DBusSignal> _handler)Remove a generic signal handler with the givenDBusMatchRule.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.Constructors in org.freedesktop.dbus.connections.impl that throw DBusException Constructor Description DirectConnection(String address)Create a direct connection to another application.DirectConnection(String address, int timeout)Create a direct connection to another application. -
Uses of DBusException in org.freedesktop.dbus.connections.transports
Methods in org.freedesktop.dbus.connections.transports that throw DBusException Modifier and Type Method Description MessageAbstractTransport. readMessage()Read a message from the underlying socket. -
Uses of DBusException in org.freedesktop.dbus.errors
Constructors in org.freedesktop.dbus.errors that throw DBusException Constructor Description Error(String dest, String errorName, long replyserial, String sig, Object... args)Error(String source, String dest, String errorName, long replyserial, String sig, Object... args)Error(String source, Message m, Throwable e)Error(Message m, Throwable e) -
Uses of DBusException in org.freedesktop.dbus.exceptions
Subclasses of DBusException in org.freedesktop.dbus.exceptions Modifier and Type Class Description classFatalDBusExceptionclassMarshallingExceptionclassMessageFormatExceptionThrown if a message is formatted incorrectly.classUnknownTypeCodeException -
Uses of DBusException in org.freedesktop.dbus.interfaces
Methods in org.freedesktop.dbus.interfaces that throw DBusException Modifier and Type Method Description Object[]DBusSerializable. serialize()Constructors in org.freedesktop.dbus.interfaces that throw DBusException Constructor 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) -
Uses of DBusException in org.freedesktop.dbus.messages
Methods in org.freedesktop.dbus.messages that throw DBusException Modifier and Type Method Description voidMessage. append(String sig, Object... data)Append a series of values to the message.voidDBusSignal. appendbody(AbstractConnection conn)static MessageMessageFactory. createMessage(byte _type, byte[] _buf, byte[] _header, byte[] _body, List<FileDescriptor> filedescriptors)DBusSignalDBusSignal. 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.voidMessage. setSource(String source)Warning, do not use this method unless you really know what you are doing.Constructors in org.freedesktop.dbus.messages that throw DBusException Constructor 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(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
Methods in org.freedesktop.dbus.spi that throw DBusException Modifier and Type Method Description MessageIMessageReader. readMessage()MessageInputStreamMessageReader. readMessage()
-