| EggDBus Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Signals | ||||
com.example.Twiddle Interfacecom.example.Twiddle Interface — Twiddle interface used for testing |
Methods
BroadcastzNewz (IN String newz) GetMostPowerfulSubject (OUT Subject most_powerful_subject) GetAllSubjects (OUT Array<Subject> subject) RegisterInterface (IN String object_path, IN Boolean impl_frob, IN Boolean impl_tweak, IN Boolean impl_twiddle) UnregisterInterface (IN String object_path, IN Boolean impl_frob, IN Boolean impl_tweak, IN Boolean impl_twiddle) UnregisterAllInterfaces (IN String object_path)
Description
The #Twiddle interface wraps the D-Bus interface com.example.Twiddle. It is used in the EggDBus test suite.
Method Details
BroadcastzNewz ()
BroadcastzNewz (IN String newz)
Broadcast newz to the world. This method will make the object emit the #Twiddle::NewzNotifz signal with newz as the newz to broadcast.
|
The newz to broadcast |
GetMostPowerfulSubject ()
GetMostPowerfulSubject (OUT Subject most_powerful_subject)
Gets the most powerful subject
|
The most powerful subject |
GetAllSubjects ()
GetAllSubjects (OUT Array<Subject> subject)
Gets all known subjects
|
An array of subjects |
RegisterInterface ()
RegisterInterface (IN String object_path,
IN Boolean impl_frob,
IN Boolean impl_tweak,
IN Boolean impl_twiddle)
Register a new object (or an interface)
|
The object path to register the object on |
|
Whether the object should implement the #Frob interface |
|
Whether the object should implement the #Tweak interface |
|
Whether the object should implement the #Twiddle interface |
UnregisterInterface ()
UnregisterInterface (IN String object_path,
IN Boolean impl_frob,
IN Boolean impl_tweak,
IN Boolean impl_twiddle)
Unregister an object (or an interface of an object)
|
The object path for unregistering |
|
Remove the #Frob interface if registered |
|
Remove the #Tweak interface if registered |
|
Remove the #Twiddle interface if registered |
