OrgUnifiedpushConnector2 class
Constructors
-
OrgUnifiedpushConnector2.new({DBusObjectPath path = const DBusObjectPath.unchecked('/')})
-
Creates a new object to expose on
path
.
Properties
-
client
↔ DBusClient?
-
The client this object is being exported by.
getter/setter pairinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
interfacesAndProperties
→ Map<String, Map<String, DBusValue>>
-
Interfaces and properties of this object.
This only requires overriding if using this object with the org.freedesktop.DBus.ObjectManager interface.
no setterinherited
-
isObjectManager
→ bool
-
True if this object exposes the org.freedesktop.DBus.ObjectManager interface.
finalinherited
-
path
→ DBusObjectPath
-
The path this object is registered on.
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
doMessage(Map<String, DBusValue> args)
→ Future<DBusMethodResponse>
-
Implementation of org.unifiedpush.Connector2.Message()
-
doNewEndpoint(Map<String, DBusValue> args)
→ Future<DBusMethodResponse>
-
Implementation of org.unifiedpush.Connector2.NewEndpoint()
-
doUnregistered(Map<String, DBusValue> args)
→ Future<DBusMethodResponse>
-
Implementation of org.unifiedpush.Connector2.Unregistered()
-
emitInterfacesAdded(DBusObjectPath path, Map<String, Map<String, DBusValue>> interfacesAndProperties)
→ Future<void>
-
Emits org.freedesktop.DBus.ObjectManager.InterfacesAdded on this object.
path
is the path to the object that has been added or changed.
interfacesAndProperties
is the interfaces added to the object at path
and the properties this object has.
inherited
-
emitInterfacesRemoved(DBusObjectPath path, Iterable<String> interfaces)
→ Future<void>
-
Emits org.freedesktop.DBus.ObjectManager.InterfacesRemoved on this object.
path
is the path to the object is being removed or changed.
interfaces
is the names of the interfaces being removed from the object at path
.
inherited
-
emitPropertiesChanged(String interface, {Map<String, DBusValue> changedProperties = const {}, List<String> invalidatedProperties = const []})
→ Future<void>
-
Emits org.freedesktop.DBus.Properties.PropertiesChanged on this object.
inherited
-
emitSignal(String interface, String name, [Iterable<DBusValue> values = const []])
→ Future<void>
-
Emits a signal on this object.
inherited
-
getAllProperties(String interface)
→ Future<DBusMethodResponse>
-
Called when all properties are requested on this object. On success, return
DBusGetAllPropertiesResponse
.
inherited
-
getProperty(String interface, String name)
→ Future<DBusMethodResponse>
-
Called when a property is requested on this object. On success, return
DBusGetPropertyResponse
.
-
handleMethodCall(DBusMethodCall methodCall)
→ Future<DBusMethodResponse>
-
Called when a method call is received on this object.
-
initializeCallback({void onNewEndpoint(PushEndpoint endpoint)?, void onRegistrationFailed(FailedReason reason)?, void onUnregistered(String instance)?, void onMessage(PushMessage message)?})
→ Future<void>
-
-
introspect()
→ List<DBusIntrospectInterface>
-
Called to get introspection information about this object.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setProperty(String interface, String name, DBusValue value)
→ Future<DBusMethodResponse>
-
Called when a property is set on this object. On success, return
DBusMethodSuccessResponse
.
-
toString()
→ String
-
A string representation of this object.
inherited