Platforms to show: All Mac Windows Linux Cross-Platform
AvahiEntryGroupMBS class New in 25.1
The class for publishing services.
- event StateChanged(state as Integer)
- 6 properties
- 10 methods
- method AddAddress(InterfaceIndex as integer, Protocol as integer, flags as Integer, name as string, Address as String)
- method AddRecord(InterfaceIndex as integer, Protocol as integer, flags as Integer, name as string, Clazz as Integer, Type as Integer, ttl as integer, Data as MemoryBlock)
- method AddService(InterfaceIndex as integer, Protocol as integer, flags as Integer, Name as string, type as String, Domain as String, Host as String, Port as Integer)
- method AddServiceStrList(InterfaceIndex as integer, Protocol as integer, flags as Integer, Name as string, type as String, Domain as String, Host as String, Port as Integer, List() as String)
- method AddServiceSubType(InterfaceIndex as integer, Protocol as integer, flags as Integer, Name as string, type as String, Domain as String, SubType as String)
- method Commit
- method Constructor(client as AvahiClientMBS)
- method Destructor
- method Reset
- method UpdateServiceStrList(InterfaceIndex as integer, Protocol as integer, flags as Integer, Name as string, type as String, Domain as String, List() as String)
- 19 constants
Constants
Constant |
Value |
Description |
kInterfaceAny
|
-1 |
Special constant to use any interface available.
Otherwise you would pass the index of the network interface you want to use.
|
Publish Flags
Constant |
Value |
Description |
kFlagsAllowMultiple
|
8 |
For raw records: Allow multiple local records of this type, even if they are intended to be unique.
|
kFlagsNoAnnounce
|
4 |
For raw records: Do not announce this RR to other hosts.
|
kFlagsNoCookie
|
32 |
For service records: do not implicitly add the local service cookie to TXT data.
|
kFlagsNone
|
0 |
No flags.
|
kFlagsNoProbe
|
2 |
For raw records: Though the RRset is intended to be unique no probes shall be sent.
|
kFlagsNoReverse
|
16 |
For address records: don't create a reverse (PTR) entry.
|
kFlagsUnique
|
1 |
For raw records: The RRset is intended to be unique.
|
kFlagsUpdate
|
64 |
Update existing records instead of adding new ones
|
kFlagsUseMulticast
|
256 |
Register the record using multicast DNS
|
kFlagsUseWideArea
|
128 |
Register the record using wide area DNS (i.e. unicast DNS update)
|
IP Protocols
Constant |
Value |
Description |
kProtocolAny
|
-1 |
Any protocol.
|
kProtocolIPv4
|
0 |
Only IPv4.
|
kProtocolIPv6
|
1 |
Only IPv6.
|
States
Constant |
Value |
Description |
kStateCollision
|
3 |
A name collision for one of the entries in the group has been detected, the entries have been withdrawn.
|
kStateEstablished
|
2 |
The entries have successfully been established.
|
kStateFailure
|
4 |
Some kind of failure happened, the entries have been withdrawn.
|
kStateRegistering
|
1 |
The entries of the group are currently being registered.
|
kStateUncommited
|
0 |
The group has not yet been commited, the user must still call commit.
|
This class has no sub classes.
Blog Entries
Release notes
- Version 25.1
- Added AvahiAddressResolverMBS, AvahiEntryGroupMBS, AvahiHostNameResolverMBS and AvahiRecordBrowserMBS classes.
The items on this page are in the following plugins: MBS Linux Plugin.
AvahiDomainBrowserMBS
-
AvahiHostNameResolverMBS