|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.freedesktop.dbus.bin.DBusDaemon.DBusServer
public class DBusDaemon.DBusServer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Nested classes/interfaces inherited from interface org.freedesktop.DBus |
---|
DBus.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 |
Field Summary | |
---|---|
org.freedesktop.dbus.bin.DBusDaemon.Connstruct |
c
|
Message |
m
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
DBusDaemon.DBusServer()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, 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, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public org.freedesktop.dbus.bin.DBusDaemon.Connstruct c
public Message m
Constructor Detail |
---|
public DBusDaemon.DBusServer()
Method Detail |
---|
public boolean isRemote()
DBusInterface
isRemote
in interface DBusInterface
public java.lang.String Hello()
DBus
Hello
in interface DBus
public java.lang.String[] ListNames()
DBus
ListNames
in interface DBus
public boolean NameHasOwner(java.lang.String name)
DBus
NameHasOwner
in interface DBus
name
- The name to query.
public java.lang.String GetNameOwner(java.lang.String name)
DBus
GetNameOwner
in interface DBus
name
- The name to query.
public UInt32 GetConnectionUnixUser(java.lang.String connection_name)
DBus
GetConnectionUnixUser
in interface DBus
connection_name
- The connection name.
public UInt32 StartServiceByName(java.lang.String name, UInt32 flags)
DBus
StartServiceByName
in interface DBus
name
- The service name to start.flags
- Unused.
public UInt32 RequestName(java.lang.String name, UInt32 flags)
DBus
RequestName
in interface DBus
name
- The name to request.flags
- DBUS_NAME flags.
public UInt32 ReleaseName(java.lang.String name)
DBus
ReleaseName
in interface DBus
name
- The name to release.
public void AddMatch(java.lang.String matchrule) throws DBus.Error.MatchRuleInvalid
DBus
AddMatch
in interface DBus
matchrule
- The Match rule as a string. Format Undocumented.
DBus.Error.MatchRuleInvalid
public void RemoveMatch(java.lang.String matchrule) throws DBus.Error.MatchRuleInvalid
DBus
RemoveMatch
in interface DBus
matchrule
- The Match rule as a string. Format Undocumented.
DBus.Error.MatchRuleInvalid
public java.lang.String[] ListQueuedOwners(java.lang.String name)
DBus
ListQueuedOwners
in interface DBus
name
- The name to query
public UInt32 GetConnectionUnixProcessID(java.lang.String connection_name)
DBus
GetConnectionUnixProcessID
in interface DBus
connection_name
- The name of the connection
public java.lang.Byte[] GetConnectionSELinuxSecurityContext(java.lang.String a)
DBus
GetConnectionSELinuxSecurityContext
in interface DBus
public void ReloadConfig()
DBus
ReloadConfig
in interface DBus
public java.lang.String Introspect()
Introspect
in interface DBus.Introspectable
public void Ping()
Ping
in interface DBus.Peer
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |