Package org.freedesktop.dbus.connections
Class GlobalHandler
- java.lang.Object
-
- org.freedesktop.dbus.connections.GlobalHandler
-
- All Implemented Interfaces:
DBusInterface,Introspectable,Peer
public class GlobalHandler extends java.lang.Object implements Peer, Introspectable
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractConnectionconnectionprivate java.lang.Stringobjectpath
-
Constructor Summary
Constructors Constructor Description GlobalHandler(AbstractConnection _abstractConnection)GlobalHandler(AbstractConnection _abstractConnection, java.lang.String _objectpath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringGetMachineId()java.lang.StringgetObjectPath()Returns the path of this object.java.lang.StringIntrospect()booleanisRemote()Returns true on remote objects.voidPing()
-
-
-
Field Detail
-
connection
private final AbstractConnection connection
-
objectpath
private final java.lang.String objectpath
-
-
Constructor Detail
-
GlobalHandler
GlobalHandler(AbstractConnection _abstractConnection)
-
GlobalHandler
GlobalHandler(AbstractConnection _abstractConnection, java.lang.String _objectpath)
-
-
Method Detail
-
isRemote
public boolean isRemote()
Description copied from interface:DBusInterfaceReturns true on remote objects. Local objects implementing this interface MUST return false.- Specified by:
isRemotein interfaceDBusInterface- Returns:
- boolean
-
Introspect
public java.lang.String Introspect()
- Specified by:
Introspectin interfaceIntrospectable- Returns:
- The XML introspection data for this object
-
getObjectPath
public java.lang.String getObjectPath()
Description copied from interface:DBusInterfaceReturns the path of this object.- Specified by:
getObjectPathin interfaceDBusInterface- Returns:
- string
-
GetMachineId
public java.lang.String GetMachineId()
- Specified by:
GetMachineIdin interfacePeer
-
-