DBusInterface
public interface DBus extends DBusInterface
Modifier and Type | Interface | Description |
---|---|---|
static interface |
DBus.Binding |
Contains Binding-test interfaces
|
static interface |
DBus.Deprecated |
Indicates that a DBus interface or method is deprecated
|
static interface |
DBus.Description |
Description of the interface or method, returned in the introspection data
|
static interface |
DBus.Error |
Contains standard errors that can be thrown from methods.
|
static interface |
DBus.GLib |
Contains GLib-specific annotations
|
static interface |
DBus.Introspectable |
Objects can provide introspection data via this interface and method.
|
static interface |
DBus.Local |
Messages generated locally in the application.
|
static interface |
DBus.Method |
Contains method-specific annotations
|
static class |
DBus.NameAcquired |
Signal sent to a connection when it aquires a name
|
static class |
DBus.NameLost |
Signal sent to a connection when it loses a name
|
static class |
DBus.NameOwnerChanged |
Signal sent when the owner of a name changes
|
static interface |
DBus.Peer |
All DBus Applications should respond to the Ping method on this interface
|
static interface |
DBus.Properties |
A standard properties interface.
|
Modifier and Type | Field | Description |
---|---|---|
static int |
DBUS_NAME_FLAG_ALLOW_REPLACEMENT |
|
static int |
DBUS_NAME_FLAG_DO_NOT_QUEUE |
|
static int |
DBUS_NAME_FLAG_REPLACE_EXISTING |
|
static int |
DBUS_RELEASE_NAME_REPLY_NON_EXISTANT |
|
static int |
DBUS_RELEASE_NAME_REPLY_NOT_OWNER |
|
static int |
DBUS_RELEASE_NAME_REPLY_RELEASED |
|
static int |
DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER |
|
static int |
DBUS_REQUEST_NAME_REPLY_EXISTS |
|
static int |
DBUS_REQUEST_NAME_REPLY_IN_QUEUE |
|
static int |
DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER |
|
static int |
DBUS_START_REPLY_ALREADY_RUNNING |
|
static int |
DBUS_START_REPLY_SUCCESS |
Modifier and Type | Method | Description |
---|---|---|
void |
AddMatch(java.lang.String matchrule) |
Add a match rule.
|
java.lang.Byte[] |
GetConnectionSELinuxSecurityContext(java.lang.String a) |
Does something undocumented.
|
UInt32 |
GetConnectionUnixProcessID(java.lang.String connection_name) |
Returns the proccess ID associated with a connection.
|
UInt32 |
GetConnectionUnixUser(java.lang.String connection_name) |
Get the Unix UID that owns a connection name.
|
java.lang.String |
GetNameOwner(java.lang.String name) |
Get the connection unique name that owns the given name.
|
java.lang.String |
Hello() |
Initial message to register ourselves on the Bus.
|
java.lang.String[] |
ListNames() |
Lists all connected names on the Bus.
|
java.lang.String[] |
ListQueuedOwners(java.lang.String name) |
List the connections currently queued for a name.
|
boolean |
NameHasOwner(java.lang.String name) |
Determine if a name has an owner.
|
UInt32 |
ReleaseName(java.lang.String name) |
Release a name on the bus.
|
void |
ReloadConfig() |
Does something undocumented.
|
void |
RemoveMatch(java.lang.String matchrule) |
Remove a match rule.
|
UInt32 |
RequestName(java.lang.String name,
UInt32 flags) |
Request a name on the bus.
|
UInt32 |
StartServiceByName(java.lang.String name,
UInt32 flags) |
Start a service.
|
isRemote
static final int DBUS_NAME_FLAG_ALLOW_REPLACEMENT
static final int DBUS_NAME_FLAG_REPLACE_EXISTING
static final int DBUS_NAME_FLAG_DO_NOT_QUEUE
static final int DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER
static final int DBUS_REQUEST_NAME_REPLY_IN_QUEUE
static final int DBUS_REQUEST_NAME_REPLY_EXISTS
static final int DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER
static final int DBUS_RELEASE_NAME_REPLY_RELEASED
static final int DBUS_RELEASE_NAME_REPLY_NON_EXISTANT
static final int DBUS_RELEASE_NAME_REPLY_NOT_OWNER
static final int DBUS_START_REPLY_SUCCESS
static final int DBUS_START_REPLY_ALREADY_RUNNING
java.lang.String Hello()
java.lang.String[] ListNames()
boolean NameHasOwner(java.lang.String name)
name
- The name to query.java.lang.String GetNameOwner(java.lang.String name)
name
- The name to query.UInt32 GetConnectionUnixUser(java.lang.String connection_name)
connection_name
- The connection name.UInt32 StartServiceByName(java.lang.String name, UInt32 flags)
name
- The service name to start.flags
- Unused.UInt32 RequestName(java.lang.String name, UInt32 flags)
name
- The name to request.flags
- DBUS_NAME flags.UInt32 ReleaseName(java.lang.String name)
name
- The name to release.void AddMatch(java.lang.String matchrule) throws DBus.Error.MatchRuleInvalid
matchrule
- The Match rule as a string. Format Undocumented.DBus.Error.MatchRuleInvalid
void RemoveMatch(java.lang.String matchrule) throws DBus.Error.MatchRuleInvalid
matchrule
- The Match rule as a string. Format Undocumented.DBus.Error.MatchRuleInvalid
java.lang.String[] ListQueuedOwners(java.lang.String name)
name
- The name to queryUInt32 GetConnectionUnixProcessID(java.lang.String connection_name)
connection_name
- The name of the connectionjava.lang.Byte[] GetConnectionSELinuxSecurityContext(java.lang.String a)
void ReloadConfig()