C# Класс Avahi.EntryGroup

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddAddress ( int iface, Protocol proto, PublishFlags flags, string name, IPAddress address ) : void
AddAddress ( string name, IPAddress address ) : void
AddRecord ( int iface, Protocol proto, PublishFlags flags, string name, RecordClass clazz, RecordType type, uint ttl, byte rdata, int length ) : void
AddRecord ( string name, RecordClass clazz, RecordType type, uint ttl, byte rdata, int length ) : void
AddService ( PublishFlags flags, string name, string type, string domain, UInt16 port ) : void
AddService ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, string host, UInt16 port ) : void
AddService ( string name, string type, string domain, UInt16 port ) : void
AddServiceSubtype ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, string subtype ) : void
AddServiceSubtype ( string name, string type, string domain, string subtype ) : void
Commit ( ) : void
Dispose ( ) : void
EntryGroup ( Client client ) : System
GetAlternativeServiceName ( string name ) : string
Reset ( ) : void
UpdateService ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain ) : void
UpdateService ( string name, string type, string domain ) : void

Приватные методы

Метод Описание
AddService ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, string host, UInt16 port, IntPtr list ) : void
OnEntryGroupCallback ( IntPtr group, EntryGroupState state, IntPtr userdata ) : void
UpdateService ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, IntPtr list ) : void
avahi_alternative_service_name ( byte name ) : IntPtr
avahi_entry_group_add_address ( IntPtr group, int iface, Protocol proto, PublishFlags flags, byte name, IntPtr address ) : int
avahi_entry_group_add_record ( IntPtr group, int iface, Protocol proto, PublishFlags flags, byte name, RecordClass clazz, RecordType type, uint ttl, byte rdata, int size ) : int
avahi_entry_group_add_service_strlst ( IntPtr group, int iface, Protocol proto, PublishFlags flags, byte name, byte type, byte domain, byte host, UInt16 port, IntPtr strlst ) : int
avahi_entry_group_add_service_subtype ( IntPtr group, int iface, Protocol proto, PublishFlags flags, byte name, byte type, byte domain, byte subtype ) : int
avahi_entry_group_commit ( IntPtr group ) : int
avahi_entry_group_free ( IntPtr group ) : void
avahi_entry_group_get_state ( IntPtr group ) : EntryGroupState
avahi_entry_group_is_empty ( IntPtr group ) : bool
avahi_entry_group_new ( IntPtr client, EntryGroupCallback cb, IntPtr userdata ) : IntPtr
avahi_entry_group_reset ( IntPtr group ) : int
avahi_entry_group_update_service_strlst ( IntPtr group, int iface, Protocol proto, PublishFlags flags, byte name, byte type, byte domain, IntPtr strlst ) : int
avahi_string_list_add ( IntPtr list, byte txt ) : IntPtr
avahi_string_list_free ( IntPtr list ) : void
avahi_string_list_new ( IntPtr txt ) : IntPtr

Описание методов

AddAddress() публичный Метод

public AddAddress ( int iface, Protocol proto, PublishFlags flags, string name, IPAddress address ) : void
iface int
proto Protocol
flags PublishFlags
name string
address System.Net.IPAddress
Результат void

AddAddress() публичный Метод

public AddAddress ( string name, IPAddress address ) : void
name string
address System.Net.IPAddress
Результат void

AddRecord() публичный Метод

public AddRecord ( int iface, Protocol proto, PublishFlags flags, string name, RecordClass clazz, RecordType type, uint ttl, byte rdata, int length ) : void
iface int
proto Protocol
flags PublishFlags
name string
clazz RecordClass
type RecordType
ttl uint
rdata byte
length int
Результат void

AddRecord() публичный Метод

public AddRecord ( string name, RecordClass clazz, RecordType type, uint ttl, byte rdata, int length ) : void
name string
clazz RecordClass
type RecordType
ttl uint
rdata byte
length int
Результат void

AddService() публичный Метод

public AddService ( PublishFlags flags, string name, string type, string domain, UInt16 port ) : void
flags PublishFlags
name string
type string
domain string
port System.UInt16
Результат void

AddService() публичный Метод

public AddService ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, string host, UInt16 port ) : void
iface int
proto Protocol
flags PublishFlags
name string
type string
domain string
host string
port System.UInt16
Результат void

AddService() публичный Метод

public AddService ( string name, string type, string domain, UInt16 port ) : void
name string
type string
domain string
port System.UInt16
Результат void

AddServiceSubtype() публичный Метод

public AddServiceSubtype ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, string subtype ) : void
iface int
proto Protocol
flags PublishFlags
name string
type string
domain string
subtype string
Результат void

AddServiceSubtype() публичный Метод

public AddServiceSubtype ( string name, string type, string domain, string subtype ) : void
name string
type string
domain string
subtype string
Результат void

Commit() публичный Метод

public Commit ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EntryGroup() публичный Метод

public EntryGroup ( Client client ) : System
client Client
Результат System

GetAlternativeServiceName() публичный статический Метод

public static GetAlternativeServiceName ( string name ) : string
name string
Результат string

Reset() публичный Метод

public Reset ( ) : void
Результат void

UpdateService() публичный Метод

public UpdateService ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain ) : void
iface int
proto Protocol
flags PublishFlags
name string
type string
domain string
Результат void

UpdateService() публичный Метод

public UpdateService ( string name, string type, string domain ) : void
name string
type string
domain string
Результат void