C# Class Avahi.EntryGroup

Inheritance: IDisposable
ファイルを表示 Open project: RidgeRun/eval-sdk-imx6-hummingboard Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

AddAddress() public method

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
return void

AddAddress() public method

public AddAddress ( string name, IPAddress address ) : void
name string
address System.Net.IPAddress
return void

AddRecord() public method

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
return void

AddRecord() public method

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
return void

AddService() public method

public AddService ( PublishFlags flags, string name, string type, string domain, UInt16 port ) : void
flags PublishFlags
name string
type string
domain string
port System.UInt16
return void

AddService() public method

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
return void

AddService() public method

public AddService ( string name, string type, string domain, UInt16 port ) : void
name string
type string
domain string
port System.UInt16
return void

AddServiceSubtype() public method

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
return void

AddServiceSubtype() public method

public AddServiceSubtype ( string name, string type, string domain, string subtype ) : void
name string
type string
domain string
subtype string
return void

Commit() public method

public Commit ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

EntryGroup() public method

public EntryGroup ( Client client ) : System
client Client
return System

GetAlternativeServiceName() public static method

public static GetAlternativeServiceName ( string name ) : string
name string
return string

Reset() public method

public Reset ( ) : void
return void

UpdateService() public method

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
return void

UpdateService() public method

public UpdateService ( string name, string type, string domain ) : void
name string
type string
domain string
return void