AvahiRecordBrowser constructor
AvahiRecordBrowser(
- DBusClient client,
- String destination,
- DBusObjectPath path
Implementation
AvahiRecordBrowser(DBusClient client, String destination, DBusObjectPath path)
: super(client, name: destination, path: path) {
itemNew = DBusRemoteObjectSignalStream(
object: this,
interface: 'org.freedesktop.Avahi.RecordBrowser',
name: 'ItemNew',
signature: DBusSignature('iisqqayu'))
.asBroadcastStream()
.map((signal) => AvahiRecordBrowserItemNew(signal));
itemRemove = DBusRemoteObjectSignalStream(
object: this,
interface: 'org.freedesktop.Avahi.RecordBrowser',
name: 'ItemRemove',
signature: DBusSignature('iisqqayu'))
.asBroadcastStream()
.map((signal) => AvahiRecordBrowserItemRemove(signal));
failure = DBusRemoteObjectSignalStream(
object: this,
interface: 'org.freedesktop.Avahi.RecordBrowser',
name: 'Failure',
signature: DBusSignature('s'))
.asBroadcastStream()
.map((signal) => AvahiRecordBrowserFailure(signal));
allForNow = DBusRemoteObjectSignalStream(
object: this,
interface: 'org.freedesktop.Avahi.RecordBrowser',
name: 'AllForNow',
signature: DBusSignature(''))
.asBroadcastStream()
.map((signal) => AvahiRecordBrowserAllForNow(signal));
cacheExhausted = DBusRemoteObjectSignalStream(
object: this,
interface: 'org.freedesktop.Avahi.RecordBrowser',
name: 'CacheExhausted',
signature: DBusSignature(''))
.asBroadcastStream()
.map((signal) => AvahiRecordBrowserCacheExhausted(signal));
}