Platforms to show: All Mac Windows Linux Cross-Platform
AvahiClientMBS class
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Network | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop, Console & Web |
Typically you create an object of your subclass of AvahiClientMBS at application launch and keep it running.
If events are too slow in GUI events, please use a timer with 50ms and call the AvahiClientMBS.Poll method there.
- 5 events
- event Collision
- event Connecting
- event Failure(error as string, errorcode as Integer)
- event Registering
- event Running
- 5 properties
- property DomainName as string
- property Handle as Integer
- property HostName as string
- property State as Integer
- property Version as string
- 2 methods
- method Constructor(flags as Integer = 0)
- method Destructor
- 2 shared methods
- 9 constants
Client Flags
| Constant | Value | Description |
|---|---|---|
| kClientIgnoreUserConfig | 1 |
Don't read user configuration |
| kClientNoFail | 2 |
Don't fail if the daemon is not available when avahi_client_new() is called, instead enter AVAHI_CLIENT_CONNECTING state and wait for the daemon to appear. |
States
| Constant | Value | Description |
|---|---|---|
| kStateClientConneting | 101 |
We're still connecting. This state is only entered when kClientNoFail has been passed to Constructor() and the daemon is not yet available. |
| kStateClientFailure | 100 |
Client side failure |
| kStateCollision | 3 |
Server State: Collision |
| kStateFailure | 4 |
Server side failure. |
| kStateInvalid | 0 |
Invalid state |
| kStateRegistering | 1 |
Server state: Registering |
| kStateRunning | 2 |
Server state: running |
This class has no sub classes.
Blog Entries
Release notes
- Version 25.1
- Added State property to AvahiClientMBS class.
Some methods using this class:
- AvahiAddressResolverMBS.Constructor(client as AvahiClientMBS)
- AvahiBrowserMBS.Constructor(client as AvahiClientMBS)
- AvahiDomainBrowserMBS.Constructor(client as AvahiClientMBS)
- AvahiEntryGroupMBS.Constructor(client as AvahiClientMBS)
- AvahiHostNameResolverMBS.Constructor(client as AvahiClientMBS)
- AvahiRecordBrowserMBS.Constructor(client as AvahiClientMBS)
- AvahiResolverMBS.Constructor(client as AvahiClientMBS)
- AvahiTypeBrowserMBS.Constructor(client as AvahiClientMBS)
Some properties using for this class:
- AvahiAddressResolverMBS.Client as AvahiClientMBS
- AvahiBrowserMBS.Client as AvahiClientMBS
- AvahiDomainBrowserMBS.Client as AvahiClientMBS
- AvahiEntryGroupMBS.Client as AvahiClientMBS
- AvahiHostNameResolverMBS.Client as AvahiClientMBS
- AvahiRecordBrowserMBS.Client as AvahiClientMBS
- AvahiResolverMBS.Client as AvahiClientMBS
- AvahiTypeBrowserMBS.Client as AvahiClientMBS
Some examples using this class:
Some related classes:
- class AvahiAddressResolverMBS
- class AvahiBrowserMBS
- class AvahiDomainBrowserMBS
- class AvahiEntryGroupMBS
- class AvahiHostNameResolverMBS
- class AvahiRecordBrowserMBS
- class AvahiResolverMBS
- class AvahiTypeBrowserMBS
The items on this page are in the following plugins: MBS Linux Plugin.
AvahiBrowserMBS - AvahiDomainBrowserMBS