public class DBusDaemon.DBusServer extends Thread implements DBus, DBus.Introspectable, DBus.Peer
Thread.State, 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 |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITYDBUS_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(String matchrule)
Add a match rule.
|
Byte[] |
GetConnectionSELinuxSecurityContext(String a)
Does something undocumented.
|
UInt32 |
GetConnectionUnixProcessID(String connection_name)
Returns the proccess ID associated with a connection.
|
UInt32 |
GetConnectionUnixUser(String connection_name)
Get the Unix UID that owns a connection name.
|
String |
GetNameOwner(String name)
Get the connection unique name that owns the given name.
|
String |
getObjectPath()
Returns the path of this object.
|
String |
Hello()
Initial message to register ourselves on the Bus.
|
String |
Introspect() |
boolean |
isRemote()
Returns true on remote objects.
|
String[] |
ListNames()
Lists all connected names on the Bus.
|
String[] |
ListQueuedOwners(String name)
List the connections currently queued for a name.
|
boolean |
NameHasOwner(String name)
Determine if a name has an owner.
|
void |
Ping() |
UInt32 |
ReleaseName(String name)
Release a name on the bus.
|
void |
ReloadConfig()
Does something undocumented.
|
void |
RemoveMatch(String matchrule)
Remove a match rule.
|
UInt32 |
RequestName(String name,
UInt32 flags)
Request a name on the bus.
|
void |
run() |
UInt32 |
StartServiceByName(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 String Hello()
DBuspublic String[] ListNames()
DBuspublic boolean NameHasOwner(String name)
DBusNameHasOwner in interface DBusname - The name to query.public String GetNameOwner(String name)
DBusGetNameOwner in interface DBusname - The name to query.public UInt32 GetConnectionUnixUser(String connection_name)
DBusGetConnectionUnixUser in interface DBusconnection_name - The connection name.public UInt32 StartServiceByName(String name, UInt32 flags)
DBusStartServiceByName in interface DBusname - The service name to start.flags - Unused.public UInt32 RequestName(String name, UInt32 flags)
DBusRequestName in interface DBusname - The name to request.flags - DBUS_NAME flags.public UInt32 ReleaseName(String name)
DBusReleaseName in interface DBusname - The name to release.public void AddMatch(String matchrule) throws DBus.Error.MatchRuleInvalid
DBusAddMatch in interface DBusmatchrule - The Match rule as a string. Format Undocumented.DBus.Error.MatchRuleInvalidpublic void RemoveMatch(String matchrule) throws DBus.Error.MatchRuleInvalid
DBusRemoveMatch in interface DBusmatchrule - The Match rule as a string. Format Undocumented.DBus.Error.MatchRuleInvalidpublic String[] ListQueuedOwners(String name)
DBusListQueuedOwners in interface DBusname - The name to querypublic UInt32 GetConnectionUnixProcessID(String connection_name)
DBusGetConnectionUnixProcessID in interface DBusconnection_name - The name of the connectionpublic Byte[] GetConnectionSELinuxSecurityContext(String a)
DBusGetConnectionSELinuxSecurityContext in interface DBusa - stringpublic void ReloadConfig()
DBusReloadConfig in interface DBuspublic String getObjectPath()
DBusInterfacegetObjectPath in interface DBusInterfacepublic String Introspect()
Introspect in interface DBus.IntrospectableCopyright © 2017. All rights reserved.