public class DBusDaemon.DBusServer extends java.lang.Thread implements DBus, DBus.Introspectable, DBus.Peer
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandlerDBus.Binding, DBus.Deprecated, DBus.Description, DBus.Error, DBus.GLib, DBus.Introspectable, DBus.Local, DBus.Method, DBus.NameAcquired, DBus.NameLost, DBus.NameOwnerChanged, DBus.Peer, DBus.Properties| Modifier and Type | Field and Description |
|---|---|
org.freedesktop.dbus.bin.DBusDaemon.Connstruct |
c |
Message |
m |
DBUS_NAME_FLAG_ALLOW_REPLACEMENT, DBUS_NAME_FLAG_DO_NOT_QUEUE, DBUS_NAME_FLAG_REPLACE_EXISTING, DBUS_RELEASE_NAME_REPLY_NON_EXISTANT, DBUS_RELEASE_NAME_REPLY_NOT_OWNER, DBUS_RELEASE_NAME_REPLY_RELEASED, DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER, DBUS_REQUEST_NAME_REPLY_EXISTS, DBUS_REQUEST_NAME_REPLY_IN_QUEUE, DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER, DBUS_START_REPLY_ALREADY_RUNNING, DBUS_START_REPLY_SUCCESS| Constructor and Description |
|---|
DBusServer() |
| Modifier and Type | Method and 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 |
Introspect() |
boolean |
isRemote()
Returns true on remote objects.
|
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.
|
void |
Ping() |
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.
|
void |
run() |
UInt32 |
StartServiceByName(java.lang.String name,
UInt32 flags)
Start a service.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic org.freedesktop.dbus.bin.DBusDaemon.Connstruct c
public Message m
public boolean isRemote()
DBusInterfaceisRemote in interface DBusInterfacepublic java.lang.String Hello()
DBuspublic java.lang.String[] ListNames()
DBuspublic boolean NameHasOwner(java.lang.String name)
DBusNameHasOwner in interface DBusname - The name to query.public java.lang.String GetNameOwner(java.lang.String name)
DBusGetNameOwner in interface DBusname - The name to query.public UInt32 GetConnectionUnixUser(java.lang.String connection_name)
DBusGetConnectionUnixUser in interface DBusconnection_name - The connection name.public UInt32 StartServiceByName(java.lang.String name, UInt32 flags)
DBusStartServiceByName in interface DBusname - The service name to start.flags - Unused.public UInt32 RequestName(java.lang.String name, UInt32 flags)
DBusRequestName in interface DBusname - The name to request.flags - DBUS_NAME flags.public UInt32 ReleaseName(java.lang.String name)
DBusReleaseName in interface DBusname - The name to release.public void AddMatch(java.lang.String matchrule)
throws DBus.Error.MatchRuleInvalid
DBusAddMatch in interface DBusmatchrule - The Match rule as a string. Format Undocumented.DBus.Error.MatchRuleInvalidpublic void RemoveMatch(java.lang.String matchrule)
throws DBus.Error.MatchRuleInvalid
DBusRemoveMatch in interface DBusmatchrule - The Match rule as a string. Format Undocumented.DBus.Error.MatchRuleInvalidpublic java.lang.String[] ListQueuedOwners(java.lang.String name)
DBusListQueuedOwners in interface DBusname - The name to querypublic UInt32 GetConnectionUnixProcessID(java.lang.String connection_name)
DBusGetConnectionUnixProcessID in interface DBusconnection_name - The name of the connectionpublic java.lang.Byte[] GetConnectionSELinuxSecurityContext(java.lang.String a)
DBusGetConnectionSELinuxSecurityContext in interface DBuspublic void ReloadConfig()
DBusReloadConfig in interface DBuspublic java.lang.String Introspect()
Introspect in interface DBus.Introspectablepublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread